Browse Source

修改BUG

lan 2 years ago
parent
commit
31d6e8b6ff

+ 3 - 3
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/build.gradle

@@ -6,7 +6,7 @@ versionberg {
     major 1
     minor 1
     patch 0
-    build 85 // ${commitCount}
+    build 86 // ${commitCount}
     nameTemplate '${major}.${minor}.${patch}.${build}'// 1.1.0.58
     codeTemplate '${major}0${minor}0${patch}${build}'// 1010058
 }
@@ -70,8 +70,8 @@ android {
             dimension "versionCode"
             resValue "string", "app_name", "识字宝"
             applicationId android.defaultConfig.applicationId + ".chinese"
-            versionCode 101002
-            versionName "1.1.0.2"
+            versionCode 101003
+            versionName "1.1.0.3"
             manifestPlaceholders = [
                     FILE_PROVIDER: "com.zedu.chinese.fileprovider",
             ]

+ 1 - 1
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/com/zedu/cocos/congming/app/updater/UpdateClient.java

@@ -151,7 +151,7 @@ public class UpdateClient {
                     JSONObject jsonObject = new JSONObject(json);
                     updateAppBean
                             //(必须)是否更新Yes,No
-                            .setUpdate(Integer.parseInt(jsonObject.optString("UpdateStatus")) >= 1 ? "true" : "false")
+                            .setUpdate(Integer.parseInt(jsonObject.optString("UpdateStatus")) >= 1 ? "Yes" : "No")
                             //(必须)新版本号,
                             .setNewVersion(jsonObject.optString("VersionCode"))
                             //(必须)下载地址