This commit is contained in:
haomingming
2023-04-08 09:51:45 +08:00
parent 6fa2a5eaa9
commit 3f40c4c237
69 changed files with 1274 additions and 338 deletions
+3 -3
View File
@@ -18,14 +18,14 @@ Page({
goCheck(e){
console.log(e);
let usertype = e.currentTarget.dataset.usertype;
let url = e.currentTarget.dataset.url;
wx.setStorageSync('usertype', usertype);
wx.setStorageSync('next_url', url);
if(usertype == 2){
app.imInit();
}else{
app.imLogout();
}
let url = e.currentTarget.dataset.url;
wx.setStorageSync('usertype', usertype);
wx.setStorageSync('next_url', url);
let token = wx.getStorageSync('AUTH_TOKEN_'+usertype);
console.log(token);
if(token){