Commit 2450dbfb by 谢中龙

修改登录参数

parent 650fb307
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
"provider": "wx104a1a20c3f81ec2" "provider": "wx104a1a20c3f81ec2"
}, },
"live-player-plugin": { "live-player-plugin": {
"version": "1.0.7", "version": "1.0.9",
"provider": "wx2b03c6e691cd7370" "provider": "wx2b03c6e691cd7370"
} }
}, },
......
...@@ -25,7 +25,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门 ...@@ -25,7 +25,7 @@ const PROJECT_ENV = 'prod' // 生产 prod, 开发 dev, 测试 test , 测试门
//2992 山东盛联微商城 wx53dedc202ae0d0c2 //2992 山东盛联微商城 wx53dedc202ae0d0c2
//2002 巴黎贝甜 wx21968cb3a486d4ab //2002 巴黎贝甜 wx21968cb3a486d4ab
const BRANCH_ID = 3001 const BRANCH_ID = 2007
const isMall = true const isMall = true
// const needMock = '' // // const needMock = '' //
......
...@@ -75,10 +75,11 @@ wxService.page({ ...@@ -75,10 +75,11 @@ wxService.page({
code: res.code, code: res.code,
wechatInfo: null, wechatInfo: null,
brandId: app.globalData.brandId, brandId: app.globalData.brandId,
appid : app.globalData.appId
}; };
if (!envInfo.isMall){ // if (!envInfo.isMall){
param.appid = app.globalData.appId // param.appid = app.globalData.appId
} // }
wxService.post(`/member/minaLogin`, param).then(response=>{ wxService.post(`/member/minaLogin`, param).then(response=>{
let dataResp = response.data.data let dataResp = response.data.data
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.8.2", "libVersion": "2.8.2",
"appid": "wx313ec36b710125d4", "appid": "wxf7bc302c51166dc0",
"projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E", "projectname": "%E5%BE%AE%E5%95%86%E5%9F%8E",
"debugOptions": { "debugOptions": {
"hidedInDevtools": [] "hidedInDevtools": []
......
...@@ -63,6 +63,7 @@ wxService.page({ ...@@ -63,6 +63,7 @@ wxService.page({
code: res.code, code: res.code,
wechatInfo, wechatInfo,
brandId: app.globalData.brandId, brandId: app.globalData.brandId,
appid : app.globalData.appId
}; };
if (!envInfo.isMall) { if (!envInfo.isMall) {
param.appid = app.globalData.appId param.appid = app.globalData.appId
......
...@@ -340,11 +340,11 @@ function getUserInfoByBtn(userInfo) { ...@@ -340,11 +340,11 @@ function getUserInfoByBtn(userInfo) {
code: res[1].code, code: res[1].code,
wechatInfo: res[0], wechatInfo: res[0],
brandId: app.globalData.brandId, brandId: app.globalData.brandId,
// appid: app.globalData.appId appid: app.globalData.appId
}; };
if (!envInfo.isMall) { // if (!envInfo.isMall) {
param.appid = app.globalData.appId // param.appid = app.globalData.appId
} // }
return wxService.post(`${currentLoginUrl}`,param) return wxService.post(`${currentLoginUrl}`,param)
}, (err) => { }, (err) => {
......
...@@ -117,10 +117,11 @@ class WXService extends Http { ...@@ -117,10 +117,11 @@ class WXService extends Http {
code: result.code, code: result.code,
wechatInfo: null, wechatInfo: null,
brandId: app.globalData.brandId, brandId: app.globalData.brandId,
appid : app.globalData.appId
}; };
if (!envInfo.isMall) { // if (!envInfo.isMall) {
param.appid = app.globalData.appId // param.appid = app.globalData.appId
} // }
_this.post(`/member/minaLogin`, param).then(response => { _this.post(`/member/minaLogin`, param).then(response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment