This commit is contained in:
吴昊天 2023-02-15 10:19:28 +08:00
commit fb10c7c0a4
10 changed files with 21 additions and 49 deletions

View File

@ -12,11 +12,11 @@
// [ 应用入口文件 ]
namespace think;
if ('7.2.0' >= phpversion()) {
exit('您的php版本过低,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
if ('7.1.0' > phpversion()) {
exit('您的php版本过低,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
}
if (phpversion() > 8.0) {
exit('您的php版本太高,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
if (phpversion() >= '8.0.0') {
exit('您的php版本太高,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
}
define('DS', DIRECTORY_SEPARATOR);

View File

@ -33201,8 +33201,8 @@ INSERT INTO `eb_system_config` (`id`, `menu_name`, `type`, `input_type`, `config
(415, 'pay_weixin_key_v3', 'text', 'input', 4, '', 1, '', 100, 0, '\"\"', 'V3支付Key', 'V3支付秘钥', 0, 1),
(416, 'reward_money', 'text', 'number', 105, '', 1, '', 0, 0, '\"0\"', '赠送余额(元)', '新用户奖励金额,必须大于等于0,0为不赠送', 0, 1),
(417, 'reward_integral', 'text', 'number', 105, '', 1, '', 0, 0, '\"0\"', '赠送积分', '新用户奖励积分,必须大于等于0,0为不赠送', 0, 1),
(418, 'hs_accesskey', 'text', 'input', 106, '', 1, '', 0, 0, '\"\"', '火山翻译AccessKey', '机器翻译仅支持火山翻译', 1, 1),
(419, 'hs_secretkey', 'text', 'input', 106, '', 1, '', 0, 0, '\"\"', '火山翻译SecretKey', '机器翻译仅支持火山翻译', 0, 1),
(418, 'hs_accesskey', 'text', 'input', 106, '', 1, '', 0, 0, '\"AKLTMzkzZTEzNjg3OTg2NDViM2IwNmFlYzhmNzE4MmI4YmI\"', '火山翻译AccessKey', '机器翻译仅支持火山翻译', 1, 1),
(419, 'hs_secretkey', 'text', 'input', 106, '', 1, '', 0, 0, '\"TVRneU16STFOVFV4WVRkbE5ERTJaV0pqWm1aaU1UaGlNVFppWldZeE1HUQ==\"', '火山翻译SecretKey', '机器翻译仅支持火山翻译', 0, 1),
(420, 'fey_user', 'text', 'input', 107, '', 1, '', 0, 0, '\"\"', '飞鹅云USER', '飞鹅云后台注册账号', 10, 1),
(421, 'fey_ukey', 'text', 'input', 107, '', 1, '', 0, 0, '\"\"', '飞鹅云UYEK', '飞鹅云后台注册账号后生成的UKEY 【备注:这不是填打印机的KEY】', 7, 1),
(422, 'fey_sn', 'text', 'input', 107, '', 1, '', 100, 0, '\"\"', '飞鹅云SN', '打印机标签上的编号,必须要在管理后台里添加打印机或调用API接口添加之后,才能调用API', 0, 1),

View File

@ -2,7 +2,7 @@
//文件签名
$fileValue = '';
//最低php版本要求
define('PHP_EDITION', '7.2.0');
define('PHP_EDITION', '7.1.0');
//服务环境检测
if (function_exists('saeAutoLoader') || isset($_SERVER['HTTP_BAE_ENV_APPID'])) {
showHtml('对不起,当前环境不支持本系统,请使用独立服务或云主机!');
@ -17,11 +17,11 @@ if (file_exists('../install.lock')) {
@set_time_limit(1000);
if (PHP_EDITION >= phpversion()) {
showHtml('您的php版本过低,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
if ('7.1.0' > phpversion()) {
exit('您的php版本过低,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
}
if (phpversion() > 8.0) {
showHtml('您的php版本太高,不能安装本软件,兼容php版本7.2~7.4,谢谢!');
if (phpversion() >= '8.0.0') {
exit('您的php版本太高,不能安装本软件,兼容php版本7.1~7.4,谢谢!');
}
date_default_timezone_set('PRC');
@ -61,8 +61,8 @@ switch ($step) {
exit();
case '2':
if (phpversion() <= PHP_EDITION || phpversion() > 8.0) {
die('本系统需要PHP为 7.2~7.4 版本,当前PHP版本为:' . phpversion());
if (phpversion() < '7.1.0' || phpversion() >= '8.0.0') {
die('本系统需要PHP为 7.1~7.4 版本,当前PHP版本为:' . phpversion());
}
$passOne = $passTwo = 'yes';
@ -254,8 +254,8 @@ switch ($step) {
}
mysqli_set_charset($conn, "utf8"); //,character_set_client=binary,sql_mode='';
$version = mysqli_get_server_info($conn);
if ($version < 5.7 || $version >= 5.8) {
$arr['msg'] = '数据库版本必须是5.7版本';
if ($version < 5.1) {
$arr['msg'] = '数据库版本太低! 必须5.1以上';
exit(json_encode($arr));
}

View File

@ -22,8 +22,6 @@ class ComposerAutoloaderInitf16474ac994ccc25392f403933800b79
return self::$loader;
}
require __DIR__ . '/platform_check.php';
spl_autoload_register(array('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitf16474ac994ccc25392f403933800b79', 'loadClassLoader'));

View File

@ -1,26 +0,0 @@
<?php
// platform_check.php @generated by Composer
$issues = array();
if (!(PHP_VERSION_ID >= 70200)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
} elseif (!headers_sent()) {
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
}
}
trigger_error(
'Composer detected issues in your platform: ' . implode(' ', $issues),
E_USER_ERROR
);
}

View File

@ -1,5 +1,5 @@
<?php
// This file is automatically generated at:2022-12-10 14:44:41
// This file is automatically generated at:2023-02-13 09:54:41
declare (strict_types = 1);
return array (
0 => 'think\\captcha\\CaptchaService',

View File

@ -5,7 +5,7 @@
</div>
<div class="ivu-global-footer-copyright" v-if="copyright">{{ copyright }}</div>
<div class="ivu-global-footer-copyright" v-else>
Copyright © 2014-2022
Copyright © 2014-2023
<a href="https://www.crmeb.com" target="_blank">{{ version }}</a>
</div>
</div>
@ -33,7 +33,7 @@ export default {
href: 'http://doc.crmeb.com',
},
],
copyright: 'Copyright © 2014-2022',
copyright: 'Copyright © 2014-2023',
version: '',
};
},

View File

@ -62,7 +62,7 @@
<div class="footer">
<div class="pull-right" v-if="copyright">{{ copyright }}</div>
<div class="pull-right" v-else>
Copyright © 2014-2022 <a href="https://www.crmeb.com" target="_blank">{{ version }}</a>
Copyright © 2014-2023 <a href="https://www.crmeb.com" target="_blank">{{ version }}</a>
</div>
</div>
</div>

View File

@ -52,7 +52,7 @@
</div>
<div class="foot-box" v-if="copyright">{{ copyright }}</div>
<div class="foot-box" v-else>
Copyright © 2014-2022 <a href="https://www.crmeb.com" target="_blank">{{ version }}</a>
Copyright © 2014-2023 <a href="https://www.crmeb.com" target="_blank">{{ version }}</a>
</div>
</div>
</template>

View File

@ -90,7 +90,7 @@
</view>
<view class="bottom">
<view class="ver" v-if="copyRight">{{copyRight}}</view>
<view v-else class="ver">© 2014-2022
<view v-else class="ver">© 2014-2023
<a href="https://www.crmeb.com">www.crmeb.com</a>
</view>
</view>