From ab9e3dade89e99cbf1158da432e4171556c5103f Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 25 Dec 2018 10:52:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=AC=AC=E4=B8=89=E6=96=B9=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=20=E5=B0=8F=E7=A8=8B=E5=BA=8F=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=8E=B7=E5=8F=96]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.js | 7 ++++--- ext.json | 3 +++ project.config.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/config.js b/config/config.js index a64b75d..ca283b9 100755 --- a/config/config.js +++ b/config/config.js @@ -1,3 +1,5 @@ +var extConfig = wx.getExtConfigSync ? wx.getExtConfigSync() : {}; +var appId = extConfig.appId; var config = { url: "https://ciformall.youlane.cn/C/api", // url:"https://c.malls.iformall.com/C/api", @@ -197,10 +199,9 @@ var config = { }, weapp: { - AppId: "wxea71200db93d756b", - baseUrl:'https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/' + AppId: appId, }, - + ErrorCode: { NICK_NOT_AUTH: 11004, PHONE_NOT_AUTH: 11005, diff --git a/ext.json b/ext.json index 129f0f3..112c902 100644 --- a/ext.json +++ b/ext.json @@ -1,6 +1,9 @@ { "extEnable": true, "extAppid": "wxb11603577a84a86d", + "ext": { + "appId": "wxb11603577a84a86d" + }, "directCommit": false, "tabBar": { "color": "#9F9F9F", diff --git a/project.config.json b/project.config.json index d551a98..163fb84 100644 --- a/project.config.json +++ b/project.config.json @@ -13,7 +13,7 @@ }, "compileType": "miniprogram", "libVersion": "2.0.9", - "appid": "wxea71200db93d756b", + "appid": "wxb11603577a84a86d", "projectname": "C", "isGameTourist": false, "condition": {