|
@@ -10,6 +10,7 @@ App({
|
|
|
wx.removeStorageSync('auth')
|
|
|
wx.removeStorageSync('userauth');
|
|
|
wx.setStorageSync('userMsg', JSON.parse(options.query.userMsg))
|
|
|
+ wx.setStorageSync('userrole', options.query.userMsg.usertype == 1 ? '业务员' : '经销商');
|
|
|
wx.setStorageSync('auth', JSON.parse(options.query.auth))
|
|
|
wx.setStorageSync('siteP', JSON.parse(options.query.site));
|
|
|
//获取用户权限
|