Skip to content

Commit f24daa8

Browse files
author
ziye12
authored
Update zqdkgit.js
1 parent 073a554 commit f24daa8

File tree

1 file changed

+2
-27
lines changed

1 file changed

+2
-27
lines changed

Task/zqdkgit.js

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -84,38 +84,13 @@ const jsname="早起打卡"
8484
let notifyInterval=1
8585
const notify = $.isNode() ? require('./sendNotify') : '';
8686
let logs = $.getdata('zqlogs')||false, signresult;
87-
let cookiesArr = [], dkurl = '',
88-
89-
let Cookiezqdk = [
90-
'',//账号一ck
91-
'',//账号二ck,如有更多,依次类推
92-
] ,
93-
94-
if ($.isNode()) {
95-
if (process.env.ZQDK_URL && process.env.ZQDK_URL.split('#') && process.env.ZQDK_URL.split('#').length > 0) {
96-
Cookiezqdk = process.env.ZQDK_URL.split('#');
97-
}
98-
99-
}
100-
101-
if ($.isNode()) {
102-
Object.keys(Cookiezqdk).forEach((item) => {
103-
if (Cookiezqdk[item]) {
104-
cookiesArr.push(Cookiezqdk[item])
105-
}
106-
})
87+
let dkurl = 'https://ph0001.hezyq.com/app/index.php?i=597&t=0&v=1.0.2&from=wxapp&c=entry&a=wxapp&do=distribute&m=bh_rising&sign=2b18eebf989b3a26a9ca677492b74724&action=today&contr=index&token=8ddce1ace72e7b6ac0e8befd789a69be&version=2.0.34
88+
'
10789

10890
console.log(`\n============ 脚本执行来自 Github Action ==============\n`)
10991
console.log(`============ 脚本执行-国际标准时间(UTC):${new Date().toLocaleString()} =============\n`)
11092
console.log(`============ 脚本执行-北京时间(UTC+8):${new Date(new Date().getTime() + 8 * 60 * 60 * 1000).toLocaleString()} =============\n`)
111-
} else {
112-
cookiesArr.push($.getdata('zqdkurl'));
11393

114-
}
115-
116-
117-
118-
11994

12095
if (isGetCookie = typeof $request !== 'undefined') {
12196
GetCookie()

0 commit comments

Comments
 (0)