Преглед изворни кода

【正式包】1.0.3文件提交

mojunshou пре 6 месеци
родитељ
комит
4c1aa43362

+ 1 - 1
assets/resources/config.json

@@ -14,7 +14,7 @@
         "webSocketReceiveTime": 10000,
         "webSocketReconnetTimeOut": 3000,
         "gameName": "连赚方块",
-        "gameVersion": "当前版本 1.0.2",
+        "gameVersion": "当前版本 1.0.3",
         "gameCompanyName": "阜阳亿顺传媒科技有限公司",
         "gamePrivacyUrl": "https://doc.v8dashen.com/doc/fc3ae42ddf3b5734",
         "gameProtocolUrl": "https://doc.v8dashen.com/doc/f692eedce36f7fb1",

+ 5 - 5
assets/script/game/common/manager/ServerHandler.ts

@@ -2,7 +2,7 @@
  * @Author: mojunshou 1637302775@qq.com
  * @Date: 2025-04-11 10:16:41
  * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-05-15 15:11:26
+ * @LastEditTime: 2025-05-16 16:06:38
  * @Description: 
  */
 // ServerHandler.ts
@@ -30,11 +30,11 @@ export class ServerHandler {
     }
 
     private initServerUrl() {
-        let isDebug = smc.game.GameModel.isRelease;
+        let isRelease = smc.game.GameModel.isRelease;
         // 设置服务器地址
-        this.serverUrl = isDebug ?
-            ProtocolEvent.TestServer :
-            ProtocolEvent.ReleaseServer;
+        this.serverUrl = isRelease ?
+            ProtocolEvent.ReleaseServer :
+            ProtocolEvent.TestServer;
 
         //如果是本地测试,则使用本地测试地址
         if (oops.config.game.isLocalTest) {

+ 2 - 2
native/engine/android/app/build.gradle

@@ -19,8 +19,8 @@ android {
         applicationId APPLICATION_ID
         minSdkVersion PROP_MIN_SDK_VERSION
         targetSdkVersion PROP_TARGET_SDK_VERSION
-        versionCode 102
-        versionName "1.0.2"
+        versionCode 103
+        versionName "1.0.3"
 
         externalNativeBuild {
             cmake {