shish 4 лет назад
Родитель
Сommit
16ec563541
3 измененных файлов с 20 добавлено и 23 удалено
  1. 18 21
      hdApp/src/manifest.json
  2. 1 1
      开发/hdApp/src/manifest.json
  3. 1 1
      线上/hdApp/src/manifest.json

+ 18 - 21
hdApp/src/manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "零售",
-    "appid" : "",
+    "appid" : "__UNI__4079DC1",
     "description" : "应用描述",
     "versionName" : "1.0.0",
     "versionCode" : "100",
@@ -29,7 +29,7 @@
         "distribute" : {
             /* android打包配置 */
             "android" : {
-																"UIBackgroundModes" : [ "audio" ],
+                "UIBackgroundModes" : [ "audio" ],
                 "permissions" : [
                     "<uses-feature android:name=\"android.hardware.camera\"/>",
                     "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
@@ -94,8 +94,8 @@
                 "desc" : "请点击确定"
             }
         },
-        "optimization": {  
-            "subPackages": true  
+        "optimization" : {
+            "subPackages" : true
         }
     },
     "mp-alipay" : {
@@ -113,23 +113,23 @@
             // "mode" : "history",
             "base" : "/"
         },
-        "async": {
-            "timeout": 200000
+        "async" : {
+            "timeout" : 20000
         },
-        "optimization": {
-            "treeShaking": {
-                "enable": true
+        "optimization" : {
+            "treeShaking" : {
+                "enable" : true
             }
         },
-        "devServer": {
-            "port": 81,
-            "proxy": {
-                "/api": {
-                    "target": "http://api.shop.huaml.com",
-                    "secure": false,
-                    "changeOrigin": true,
-                    "pathRewrite": {
-                        "^/api": ""
+        "devServer" : {
+            "port" : 81,
+            "proxy" : {
+                "/api" : {
+                    "target" : "http://api.shop.huaml.com",
+                    "secure" : false,
+                    "changeOrigin" : true,
+                    "pathRewrite" : {
+                        "^/api" : ""
                     }
                 }
             }
@@ -140,9 +140,6 @@
                     "key" : ""
                 }
             }
-        },
-        "async" : {
-            "timeout" : 20000
         }
     }
 }

+ 1 - 1
开发/hdApp/src/manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "零售",
-    "appid" : "",
+    "appid" : "__UNI__4079DC1",
     "description" : "应用描述",
     "versionName" : "1.0.0",
     "versionCode" : "100",

+ 1 - 1
线上/hdApp/src/manifest.json

@@ -1,6 +1,6 @@
 {
     "name" : "零售",
-    "appid" : "",
+    "appid" : "__UNI__4079DC1",
     "description" : "应用描述",
     "versionName" : "1.0.0",
     "versionCode" : "100",