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": {