Bläddra i källkod

chore(config): 小程序开发/体验环境 API 地址统一为 cfc.etotem.com.cn

- config.js: develop/trial 环境指向生产域名 cfc.etotem.com.cn
- manifest.json: 移除 lazyCodeLoading 配置
liaoxg 2 veckor sedan
förälder
incheckning
3b0f657878
2 ändrade filer med 3 tillägg och 4 borttagningar
  1. 2 2
      cfc-frontend/config.js
  2. 1 2
      cfc-frontend/manifest.json

+ 2 - 2
cfc-frontend/config.js

@@ -20,10 +20,10 @@ try {
     switch (env) {
       case 'develop':
         //API_BASE_URL = 'http://cfc.iwintrue.com'
-        API_BASE_URL = 'http://192.168.1.57:9082'
+        API_BASE_URL = 'https://cfc.etotem.com.cn'
         break
       case 'trial':
-        API_BASE_URL = 'https://cfc.iwintrue.com'
+        API_BASE_URL = 'https://cfc.etotem.com.cn'
         break
       case 'release':
         API_BASE_URL = 'https://cfc.etotem.com.cn'

+ 1 - 2
cfc-frontend/manifest.json

@@ -46,8 +46,7 @@
       "urlCheck": false,
       "es6": true,
       "postcss": true,
-      "minified": true,
-      "lazyCodeLoading": "requiredComponents"
+      "minified": true
     }
   },
   "mp-alipay": {},