Explorar o código

fixed: 打开v11的整包更新提醒.

王刚 %!s(int64=3) %!d(string=hai) anos
pai
achega
c88283093d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gameserver/Amfphp/service_call/InquireApi/CheckUpdate.php

+ 1 - 1
Gameserver/Amfphp/service_call/InquireApi/CheckUpdate.php

@@ -77,7 +77,7 @@ class CheckUpdate {
             $ret->fullDownloadPage = self::GetFullDownloadPage($channel);
 
             if (($newVer - $clientVer) >= 10 #                                  # 版本号差异大于10=>整包更
-                    || $clientVer < 7                                           # 临时代码 2021.8.20 后面更新的时候需要注释掉
+                    || $clientVer < 11                                           # 临时代码 2021.8.20 后面更新的时候需要注释掉
             ) {
                 $ret->err = ErrCode::clientversionlow_err;                      # 返回错误码,强制更新1
                 $ret->msg = "发现新版本,只有更新才能进入游戏。是否立即更新?";