Skip to content

Commit e2972aa

Browse files
committed
1 parent f8d22a4 commit e2972aa

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎Task/txnews.js‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,9 @@ if (isGetCookie) {
9090
GetCookie()
9191
} else {
9292
!(async () => {
93-
if(!cookiesArr){
93+
if(!cookiesArr[0]){
9494
$.msg($.name, '【提示】🉐登录腾讯新闻app获取cookie',"qqnews://article_9500?tab=news_news&from=self", {"open-url": "qqnews://article_9500?tab=news_news&from=self"});
95-
if ($.isNode()){
96-
await notify.sendNotify($.name, '【提示】请先获取腾讯新闻一Cookie',"qqnews://article_9500?tab=news_news&from=self", {"open-url": "qqnews://article_9500?tab=news_news&from=self"});
97-
}
98-
return;
95+
return;
9996
}
10097
if ($.isNode()){
10198
console.log(`\n============ 脚本执行来自 Github Action ==============\n`)

0 commit comments

Comments
 (0)