|
@@ -77,7 +77,7 @@ class CheckUpdate {
|
|
$ret->fullDownloadPage = self::GetFullDownloadPage($channel);
|
|
$ret->fullDownloadPage = self::GetFullDownloadPage($channel);
|
|
|
|
|
|
if (($newVer - $clientVer) >= 10 # # 版本号差异大于10=>整包更
|
|
if (($newVer - $clientVer) >= 10 # # 版本号差异大于10=>整包更
|
|
- || $clientVer < 5 # 临时代码 2021.8.20 后面更新的时候需要注释掉
|
|
|
|
|
|
+ || $clientVer < 7 # 临时代码 2021.8.20 后面更新的时候需要注释掉
|
|
) {
|
|
) {
|
|
$ret->err = ErrCode::clientversionlow_err; # 返回错误码,强制更新1
|
|
$ret->err = ErrCode::clientversionlow_err; # 返回错误码,强制更新1
|
|
$ret->msg = "发现新版本,只有更新才能进入游戏。是否立即更新?";
|
|
$ret->msg = "发现新版本,只有更新才能进入游戏。是否立即更新?";
|
|
@@ -166,6 +166,7 @@ class CheckUpdate {
|
|
// $url = "https://www.taptap.com/app/68388"; # 正式服
|
|
// $url = "https://www.taptap.com/app/68388"; # 正式服
|
|
$url = "https://www.taptap.com/developer/21413"; # 测试服
|
|
$url = "https://www.taptap.com/developer/21413"; # 测试服
|
|
$url = "https://d-ve.tapimg.com/f/202108/20/a/86774789f0765df4b911650c163e9e64?t=1629456610&sign=aeda47ad1860f413c5e7bcfcef2f590d"; # 测试直接下载文件
|
|
$url = "https://d-ve.tapimg.com/f/202108/20/a/86774789f0765df4b911650c163e9e64?t=1629456610&sign=aeda47ad1860f413c5e7bcfcef2f590d"; # 测试直接下载文件
|
|
|
|
+ $url = "https://d-ve.tapimg.com/f/202108/30/a/ef7db5fbbfd5673fa5ce035fbdb3ee9e?t=1630370340&sign=4b124ae64f9d236208605c0aad095fb7"; # test 1.0.7
|
|
break;
|
|
break;
|
|
default :
|
|
default :
|
|
$url = "https://www.taptap.com/developer/21413"; # taptap测试服
|
|
$url = "https://www.taptap.com/developer/21413"; # taptap测试服
|