mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-15 07:00:42 +08:00
Update jd_task_checkCookie.js
This commit is contained in:
parent
e30c2d4930
commit
b0bd6a92ba
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user