li.shaoyi 9 hónapja
szülő
commit
2e042f35c4

+ 2 - 2
oem/sjgj/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.sjgj",
   "appName": "纯金网金银报价结算中心",
-  "version": "1.0.3",
-  "versionCode": "100003",
+  "version": "1.0.4",
+  "versionCode": "100004",
   "apiUrl": "http://192.168.31.139:8080/cfg?key=test_139",
   "tradeChannel": "ws",
   "modules": [

+ 2 - 2
oem/tss/config/appconfig.json

@@ -1,8 +1,8 @@
 {
   "appId": "com.muchinfo.tss",
   "appName": "TCE",
-  "version": "1.0.44",
-  "versionCode": "100044",
+  "version": "1.0.46",
+  "versionCode": "100046",
   "apiUrl": "http://192.168.31.210:8080/cfg?key=test_210",
   "tradeChannel": "ws",
   "showLoginAlert": true,

+ 1 - 1
src/services/http/index.ts

@@ -268,7 +268,7 @@ export default new (class {
                 const { getErrorInfoByCode } = useErrorInfoStore()
                 const msg = getErrorInfoByCode(res.RetCode ?? res.Status)
                 const error = String(res.RetDesc || res.RetCode || res.Status)
-                return Promise.reject((res.RetCode ? `[${res.RetCode}]` : '') + (msg ?? error))
+                return Promise.reject((msg ?? error) + (res.RetCode ? `[${res.RetCode}]` : ''))
             }
         }
     }

+ 1 - 1
src/utils/h5plus/index.ts

@@ -520,7 +520,7 @@ export default new (class {
      */
     checkPermission() {
         this.onPlusReady((plus) => {
-            const res = plus.navigator.checkPermission('android.permission.READ_EXTERNAL_STORAGE')
+            const res = plus.navigator.checkPermission('READ_EXTERNAL_STORAGE')
 
             console.log(res)
         })