diff --git a/app.js b/app.js index ac91e1d..ad6b2b7 100644 --- a/app.js +++ b/app.js @@ -135,15 +135,15 @@ App({ } }) } - - else if(app.globalData.user_id){ //启用默认的user_id - app.promiseGet("/api/weshop/users/get/" + app.globalData.setting.stoid + "/" + app.globalData.user_id,{}).then(res=>{ - if(res.data.code==0){ - app.globalData.userInfo = res.data.data; - wx.setStorageSync("userinfo",app.globalData.userInfo); - } - }) - } + + // else if(app.globalData.user_id){ //-- 启用默认的user_id -- + // app.promiseGet("/api/weshop/users/get/" + app.globalData.setting.stoid + "/" + app.globalData.user_id,{}).then(res=>{ + // if(res.data.code==0){ + // app.globalData.userInfo = res.data.data; + // wx.setStorageSync("userinfo",app.globalData.userInfo); + // } + // }) + // } } wx.getSystemInfo({ success: (res) => {