Update jd_task_checkCookie.js

This commit is contained in:
可达鸭 2025-03-29 15:06:20 +08:00
parent e30c2d4930
commit b0bd6a92ba

View File

@ -38,7 +38,7 @@ export class Main extends Template {
let context = p.context; let context = p.context;
var expire = 0 var expire = 0
if (this.haskey(this.profile, 'change', 'all')) { if (this.haskey(this.profile, 'change', 'all')) {
expire = 1 expire = 2
} }
else { else {
let s = await this.curl({ let s = await this.curl({
@ -111,11 +111,11 @@ export class Main extends Template {
p.msg("openKey生成失败") p.msg("openKey生成失败")
} }
} }
else if (!userData.wskey) { else if (expire == 1) {
p.log("没有wskey") p.msg("账号过期了呀🐶")
} }
else { else {
p.msg("账号过期了呀🐶") p.log("没有wskey")
} }
} }
} }