Skip to content

Commit 9a4a736

Browse files
author
ziye12
authored
Update zqdkgit.js
1 parent 689d9cb commit 9a4a736

File tree

1 file changed

+37
-83
lines changed

1 file changed

+37
-83
lines changed

Task/zqdkgit.js

Lines changed: 37 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,56 @@
1-
/*ziye 早起打卡
21

32

4-
非常重要!!!
53

6-
微信扫码 https://raw.githubusercontent.com/ziye12/JavaScript/master/zqdkziye.png 进入小程序,登录获取授权,再启动软件获取ck
7-
建议设置6点到23点之间打卡,时间间隔30分钟以上,否则容易封号
84

5+
const $ = new Env("早起打卡")
6+
const jsname="早起打卡"
7+
let notifyInterval=1
8+
const 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
9+
'
10+
11+
12+
let isGetCookie = typeof $request !== 'undefined'
13+
if (isGetCookie) {
14+
GetCookie()
15+
} else {
16+
all()
17+
}
18+
919

1020

1121

12-
2020.9.9
13-
14-
15-
《《《《《《《《《《制作其他打卡js的说明
16-
17-
抓包小程序,然后替换以下内容来制作其他打卡js,
18-
需要替换的内容如下,按顺序替换字符,自己用电脑或者KODE软件替换,KODE下载链接https://apps.apple.com/cn/app/koder-code-editor/id1447489375
19-
20-
21-
ph0001.hezyq.com
22-
早起打卡
23-
cs = 20
24-
xj = 1
25-
zqdkurl
26-
i=597
27-
zqdk
28-
29-
手动替换
30-
ph0001\.hezyq\.com
31-
32-
制作其他打卡js的说明》》》》》》》》》》》
33-
34-
35-
36-
37-
38-
39-
////////////////////////////////////////正文
40-
41-
42-
使用说明:
43-
44-
一,微信扫码 https://raw.githubusercontent.com/ziye12/JavaScript/master/zqdkziye.png 进入小程序,登录获取授权
45-
46-
二,然后将hostname复制粘贴进配置文件
47-
48-
三,将重写复制到 rewrite_local 下,再进入程序获取ck,建议 放入新建配置片段,获取之后禁用即可
49-
50-
功能如下:
51-
1.每日打卡,设置了开关,完成任务不再打卡
52-
2.打卡币统计,
53-
3.现金统计,自动提现
54-
55-
hostname= ph0001.hezyq.com,
56-
57-
58-
59-
//surge
60-
早起打卡 = type=http-request,pattern=^https:\/\/ph0001\.hezyq\.com\/*,requires-body=1,max-size=0,script-path= https://raw.githubusercontent.com/ziye12/JavaScript/master/zqdkziye.js
61-
62-
63-
64-
//圈x
65-
https:\/\/ph0001\.hezyq\.com\/* url script-request-header https://raw.githubusercontent.com/ziye12/JavaScript/master/zqdkziye.js
66-
67-
68-
//loon
69-
http-request ^https:\/\/ph0001\.hezyq\.com\/* script-path= https://raw.githubusercontent.com/ziye12/JavaScript/master/zqdkziye.js
70-
, requires-body=true, timeout=10, tag=早起打卡
71-
22+
function GetCookie() {
23+
if ($request && $request.url.match(/i=597&/))
24+
if ($request && $request.url.match(/action=today&contr=index/))
25+
{
26+
const dkurl = $request.url
27+
sy.log(`dkurl:${dkurl}`)
28+
if (dkurl) sy.setdata(dkurl, dkurlkey)
29+
sy.msg(dkurlkey, `获取cookie: 成功🎉`, ``)
30+
}
7231

32+
}
33+
7334

7435

75-
*/
7636

7737

38+
function all()
7839

40+
{
7941

42+
for(var i=0;i<3;i++)
43+
{ (function(i) {
44+
setTimeout(function() {
45+
46+
if(i==0) dktj(i);
47+
else if(i==1) dkxj(i);
48+
else if(i==2) showmsg(i);
49+
}, (i + 1) * 1000);
50+
})(i)
8051

8152

82-
const $ = new Env("早起打卡")
83-
const jsname="早起打卡"
84-
let notifyInterval=1
85-
const 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
86-
'
87-
88-
89-
if (isGetCookie = typeof $request !== 'undefined') {
90-
GetCookie()
91-
} else
92-
await dktj();
93-
await dkxj();
94-
await showmsg();
95-
}
96-
})()
97-
.catch((e) => $.logErr(e))
98-
.finally(() => $.done())
99-
}
53+
}}
10054

10155

10256

0 commit comments

Comments
 (0)