|
@@ -11,10 +11,13 @@ App({
|
|
|
wx.removeStorageSync('auth');
|
|
|
wx.removeStorageSync('userauth');
|
|
|
wx.removeStorageSync('userrole');
|
|
|
+ wx.removeStorageSync('templetList');
|
|
|
wx.setStorageSync('userMsg', userMsg);
|
|
|
wx.setStorageSync('userrole', userMsg.usertype == 1 ? '业务员' : '经销商');
|
|
|
wx.setStorageSync('auth', JSON.parse(options.query.auth));
|
|
|
wx.setStorageSync('siteP', JSON.parse(options.query.site));
|
|
|
+ wx.setStorageSync('templetList', JSON.parse(options.query.templetList));
|
|
|
+ console.log("options.query.templetList", options.query.templetList)
|
|
|
//获取用户权限
|
|
|
this.globalData.http.basic({
|
|
|
"classname": "sysmanage.develop.userauth.userauth",
|