瀏覽代碼

开发环境

shish 11 月之前
父節點
當前提交
28a498437f
共有 3 個文件被更改,包括 17 次插入13 次删除
  1. 2 2
      mallApp/src/config.js
  2. 5 5
      mallApp/src/ext.json
  3. 10 6
      mallApp/src/manifest.json

+ 2 - 2
mallApp/src/config.js

@@ -1,3 +1,3 @@
 export const ProjectName = 'mall'
-export const CURRENT_ENV = 'production'
-export const APIHOST = 'https://api.shop.zhiguanhua.cn'
+export const CURRENT_ENV = 'dev'
+export const APIHOST = 'https://api.shop.theflorist.cn'

+ 5 - 5
mallApp/src/ext.json

@@ -1,12 +1,12 @@
 {
   "extEnable": true,
-  "extAppid": "wx99a1dfc4171efb42",
+  "extAppid": "wxe41bd5816affd0ba",
   "directCommit": false,
   "ext": {
     "account": 0,
-    "apiHost": "https://api.shop.zhiguanhua.cn",
-    "socketApiHost": "api.shop.zhiguanhua.cn",
-    "imgHost": "https://img.zhiguanhua.cn",
-    "name":"花卉"
+    "apiHost": "https://api.shop.theflorist.cn",
+    "socketApiHost": "api.shop.theflorist.cn",
+    "imgHost": "https://img.theflorist.cn",
+    "name":"花卉"
   }
 }

+ 10 - 6
mallApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "商城",
     "appid" : "__UNI__19572D0",
     "description" : "花店商城",
-    "versionName" : "1.0.10",
-    "versionCode" : "1010",
+    "versionName" : "1.0.11",
+    "versionCode" : "1011",
     "transformPx" : true,
     /* 5+App特有相关 */
     "app-plus" : {
@@ -38,8 +38,8 @@
                     "NSPhotoLibraryUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
                     "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
                     "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
-				},
-				"idfa" : false
+                },
+                "idfa" : false            
             },
             /* SDK配置 */
             "sdkConfigs" : {
@@ -54,13 +54,17 @@
     "quickapp" : {},
     /* 小程序特有相关 线上(花卉宝) wx99a1dfc4171efb42 开发(中花卉) wxe41bd5816affd0ba */
     "mp-weixin" : {
-        "appid" : "wx99a1dfc4171efb42",
+        "appid" : "wxe41bd5816affd0ba",
         "setting" : {
             "urlCheck" : false
         },
+        "optimization" : {
+            "subPackages" : true
+        },
         "usingComponents" : true,
         "permission" : {
-        }
+        },
+        "lazyCodeLoading":"requiredComponents"
     },
     "mp-alipay" : {
         "usingComponents" : true