|
@@ -6,6 +6,7 @@ function loginMsg(res) {
|
|
|
wx.removeStorageSync('templetList');
|
|
wx.removeStorageSync('templetList');
|
|
|
wx.setStorageSync('isAgree', true)
|
|
wx.setStorageSync('isAgree', true)
|
|
|
wx.setStorageSync('account_list', res.account_list);
|
|
wx.setStorageSync('account_list', res.account_list);
|
|
|
|
|
+ wx.setStorageSync('token', res.account_list[0].token)
|
|
|
if (res.account_list.length == 1) {
|
|
if (res.account_list.length == 1) {
|
|
|
wx.removeStorageSync('userMsg')
|
|
wx.removeStorageSync('userMsg')
|
|
|
wx.setStorageSync('userMsg', res.account_list[0])
|
|
wx.setStorageSync('userMsg', res.account_list[0])
|