Authored by 李奇

登录逻辑修改

... ... @@ -267,7 +267,7 @@ App({
this._getSync('unionShop').shopId;
},
getAppId() {
return config.appid;
return wx.getExtConfigSync().extAppid;
},
getSystemInfo() {
return this.globalData.systemInfo;
... ...
... ... @@ -140,7 +140,6 @@ const api = {
business_line: config.apiParams.business_line,
client_type: config.apiParams.client_type,
app_version: config.apiParams.app_version,
union_type: config.unionType, // 渠道号
udid: udid.get()
}, params);
},
... ...
/* eslint-disable */
export default {
"domains": {
"api": "https://api.yoho.cn",
// 线上
// "api": "https://api.yoho.cn",
// 测试
"api": "http://api-test3.dev.yohocorp.com",
"yasApi": "https://analysis.yohobuy.com/yas_mobile"
},
"apiParams": {
... ... @@ -12,7 +16,7 @@ export default {
},
"appid": "wxe8bfc9b404772199",
"unionType": "100000000011678",
"mini_app_type": "3",
"mini_app_type": "5",
"resourceContentCode": {
"home": {
"top": "72c65730150543d295532c942b0e5a33"
... ...
... ... @@ -4,6 +4,7 @@
"directCommit": false,
"ext": {
"name": "wechat",
"extAppid": "wxe8bfc9b404772199",
"attr": {
"host": "open.weixin.qq.com",
"users": [
... ...
... ... @@ -35,8 +35,7 @@ Page({
} else {
if (idx === this.data.expandIndex) {
this.setData({
expand: false,
subCateList: []
expand: false
});
} else {
this.setData({
... ...