Skip to content

Commit fe40ea0

Browse files
author
ziye12
authored
Update xiaoleziye.js
1 parent 2612508 commit fe40ea0

File tree

1 file changed

+77
-2
lines changed

1 file changed

+77
-2
lines changed

xiaoleziye.js

Lines changed: 77 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
55
微信扫码 https://raw.githubusercontent.com/ziye12/JavaScript/master/xiaoleziye.png 获取授权
66
7+
开重写,点击我的 获取第一个ck ,关重写,然后进签到,开重写,点签到获取签到ck,
8+
9+
10+
10.5 增加更多通知内容
11+
12+
713
814
915
hostname=minapp.xqrobot.net,
@@ -35,6 +41,7 @@ http-request https:\/\/minapp\.xqrobot\.net\/* script-path=https://raw.githubuse
3541

3642

3743

44+
3845
const sy = init()
3946

4047
const jsname='小乐签到'
@@ -148,15 +155,17 @@ if (xiaoleuserVal) sy.setdata(xiaoleuserVal,xiaoleuserKey)
148155

149156
{
150157

151-
for(var i=0;i<3;i++)
158+
for(var i=0;i<4;i++)
152159
{ (function(i) {
153160
setTimeout(function() {
154161

155162
if(i==0) xiaoletask(i);
156163

157164
else if(i==1) xiaoleuser(i);
165+
else if(i==2) xiaolesy(i);
166+
158167

159-
else if(i==2) showmsg(i);
168+
else if(i==3) showmsg(i);
160169
}, (i + 1) *1000);
161170
})(i)
162171

@@ -241,6 +250,72 @@ tz+=userinfo.show
241250
})
242251
})
243252
}
253+
254+
255+
256+
257+
function xiaolesy() {
258+
return new Promise((resolve, reject) => {
259+
260+
const toxiaolesyurl = {
261+
url: xiaoleuserVal.replace(/mod=index/g, `mod=tbk_jiang&page=1`),
262+
headers: JSON.parse(xiaoleheaderVal),
263+
264+
};
265+
sy.post(toxiaolesyurl,(error, response, data) =>{
266+
if(logs) sy.log(`${jsname}, 收益信息: ${data}`)
267+
syinfo =JSON.parse(data)
268+
var xx=syinfo.list[0].jiang_text
269+
var tt=xx.substring(xx.indexOf("用户")+2,xx.indexOf("奖励"));
270+
271+
272+
273+
if (syinfo.result==true)
274+
{
275+
tz+=
276+
'【收益信息】👤:'+tt+'\n'+
277+
'【下单时间】🧧:'+syinfo.list[0].jiang_atime+'\n'+
278+
'【预计收益】🧧:'+syinfo.list[0].jiang_money+'元'+'\n'
279+
280+
281+
282+
283+
284+
285+
}
286+
287+
288+
else if (userinfo.result==false)
289+
{
290+
tz+=userinfo.show
291+
}
292+
293+
294+
295+
resolve()
296+
})
297+
})
298+
}
299+
300+
301+
302+
303+
304+
305+
306+
307+
308+
309+
310+
311+
312+
313+
314+
315+
316+
317+
318+
244319

245320

246321

0 commit comments

Comments
 (0)