Skip to content

Commit aa65360

Browse files
committed
更新[腾讯视频]: 移动端每个用户仅可签两周,签到活动结果后,移动端签到不再弹通知
1 parent 2865ff8 commit aa65360

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎videoqq/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
99
> 2020.3.2 \[Beta\] 增加移动端抽奖脚本 (部分用户移动端签到时会提示: 无匹配的签到活动, 那就是移动端签不上了)
1010
11+
> 2020.3.6 移动端每个用户仅可签两周,签到活动结果后,移动端签到不再弹通知
12+
1113
## 配置 (Surge)
1214

1315
```properties

‎videoqq/videoqq.js‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ let VAL_mh5signheader = chavy.getdata(KEY_mh5signheader)
1919
await signapp()
2020
await getexp()
2121
await signmh5()
22-
await getpricelist()
23-
await getprice()
22+
if (signinfo.signmh5.ret != -2011) {
23+
await getpricelist()
24+
await getprice()
25+
}
2426
await showmsg()
2527
})().catch((e) => chavy.log(`❌ ${cookieName} 签到失败: ${e}`))
2628

@@ -222,7 +224,7 @@ function showmsg() {
222224
subTitle = `签到结果: 失败`
223225
detail = `编码: ${signinfo.signmh5.ret}, 说明: ${signinfo.signmh5.msg}`
224226
}
225-
chavy.msg(`${cookieName} (移动端)`, subTitle, detail)
227+
if (signinfo.signmh5.ret != -2011) chavy.msg(`${cookieName} (移动端)`, subTitle, detail)
226228
}
227229

228230
// 会员抽奖

0 commit comments

Comments
 (0)