From 8a595232e2c1485fdcd66255d4c3a930cd56d84e Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Fri, 25 Nov 2022 09:45:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=BB=91=E5=AE=9Ask=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/user.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/model/user.js b/model/user.js index d419a5d..8a8527a 100644 --- a/model/user.js +++ b/model/user.js @@ -759,7 +759,7 @@ export default class user { // ltoken=res?.data?.ltoken // } this.e.cookie = - `ltoken=${this.e.sk?.get('ltoken')||ltoken};ltuid=196576671;cookie_token=${data.data.cookie_token}; account_id=196576671;` + `ltoken=${this.e.sk?.get('ltoken')||ltoken};ltuid=${this.e.sk?.get('stuid')};cookie_token=${data.data.cookie_token}; account_id=${this.e.sk?.get('stuid')};` // if(this.e.sk?.get('mid')){ // this.e.cookie = // `ltoken_v2=${this.e.sk?.get('ltoken')||ltoken};cookie_token_v2=${data.data.cookie_token}; account_mid_v2=${this.e.sk.get('mid')};ltmid_v2=${this.e.sk.get('mid')}` @@ -768,6 +768,9 @@ export default class user { this.e.cookie = this.e.original_msg } res = await this.getData("userGameInfo", this.ForumData[1], false) + if(res?.retcode!=0){ + return false; + } let uids = [] for (let s of res.data.list) { let datalist = {}