@@ -12,6 +12,7 @@ boxjs链接 https://raw.githubusercontent.com/ziye66666/JavaScript/main/Task/zi
12122.15 修复刷新问题,修复部分问题,点夺宝获取ck
13132.24 增加自动提现,需要自行获取对应数值的body,并填写CASH变量
14142.24-2 修复刷新错误,务必更新
15+ 2.25 修复版本更新带来的晶石收取问题
1516
1617⚠️一共1个位置 1个ck 👉 1条 Secrets
1718多账号换行
@@ -70,7 +71,7 @@ const $ = Env("芝嫲视频");
7071$ . idx = ( $ . idx = ( $ . getval ( 'zhimaSuffix' ) || '1' ) - 1 ) > 0 ? ( $ . idx + 1 + '' ) : '' ; // 账号扩展字符
7172const notify = $ . isNode ( ) ? require ( "./sendNotify" ) : `` ;
7273const COOKIE = $ . isNode ( ) ? require ( "./zhimaCOOKIE" ) : `` ;
73- const logs = 0 ; // 0为关闭日志,1为开启
74+ const logs = 1 ; // 0为关闭日志,1为开启
7475const notifyttt = 1 // 0为关闭外部推送,1为12 23 点外部推送
7576const notifyInterval = 2 ; // 0为关闭通知,1为所有通知,2为12 23 点通知 , 3为 6 12 18 23 点通知
7677$ . message = '' , COOKIES_SPLIT = '' , CASH = '' , ddtime = '' ;
@@ -329,11 +330,11 @@ async function all() {
329330 if ( ! cookie_is_live ) {
330331 continue ;
331332 }
332- await zhima ( ) //收取晶石
333- await zhimasx ( ) ; //刷新
333+ await zhima ( ) //收取晶石
334334 if ( nowTimes . getHours ( ) === 17 && CASH >= 0.3 ) {
335335 await zhimatx ( ) ; //提现
336336 }
337+ await zhimasx ( ) ; //刷新
337338 }
338339}
339340//通知
@@ -374,7 +375,7 @@ function zhimasx(timeout = 0) {
374375 'Content-Type' : `application/x-www-form-urlencoded` ,
375376 'Connection' : `keep-alive` ,
376377 'Host' : `api.sxsjyzm.com` ,
377- 'User-Agent' : `APP/4.7 CFNetwork/1206 Darwin/20.1.0` ,
378+ 'User-Agent' : `APP/5.0 CFNetwork/1206 Darwin/20.1.0` ,
378379 'Accept-Language' : `zh-cn`
379380 } ,
380381 body : zhimabodyVal ,
@@ -418,15 +419,15 @@ function zhima(timeout = 0) {
418419
419420
420421 let url = {
421- url : `https://api.sxsjyzm.com/api2/loot/quickgetloot ` ,
422+ url : `https://api.sxsjyzm.com/api2/loot/supquickgetloot ` ,
422423 headers : {
423424 'Accept' : `*/*` ,
424425 'wToken' : `` ,
425426 'Accept-Encoding' : `gzip, deflate, br` ,
426427 'Content-Type' : `application/x-www-form-urlencoded` ,
427428 'Connection' : `keep-alive` ,
428429 'Host' : `api.sxsjyzm.com` ,
429- 'User-Agent' : `APP/4.7 CFNetwork/1206 Darwin/20.1.0` ,
430+ 'User-Agent' : `APP/5.0 CFNetwork/1206 Darwin/20.1.0` ,
430431 'Accept-Language' : `zh-cn`
431432 } ,
432433 body : zhimabodyVal ,
@@ -440,21 +441,13 @@ function zhima(timeout = 0) {
440441
441442 if ( $ . zhima . code == 200 ) {
442443
443- console . log ( `【晶石收取】:${ time ( Number ( tts ( ) ) ) } 领取晶石成功,等待11秒后进行下次收取\n` )
444- $ . message += `【晶石收取】:${ time ( Number ( tts ( ) ) ) } 领取晶石成功,等待11秒后进行下次收取\n`
445- await zhimasx ( ) ; //刷新
446- await $ . wait ( 11000 )
447- await zhima ( )
448-
449- }
444+ console . log ( `【晶石收取】:${ time ( Number ( tts ( ) ) ) } 领取晶石成功,冷却3小时\n` )
445+ $ . message += `【晶石收取】:${ time ( Number ( tts ( ) ) ) } 领取晶石成功,冷却3小时\n`
450446
451447
452- if ( $ . zhima . code == 1001 ) {
448+ }
453449
454- console . log ( `【晶石收取】:${ $ . zhima . mess } ,间隔11秒才能收取\n` )
455- $ . message += `【晶石收取】:${ $ . zhima . mess } ,间隔11秒才能收取\n`
456450
457- }
458451
459452 if ( $ . zhima . code == 1002 ) {
460453
@@ -499,7 +492,7 @@ function zhimatx(timeout = 0) {
499492 'Content-Type' : `application/x-www-form-urlencoded` ,
500493 'Connection' : `keep-alive` ,
501494 'Host' : `api.sxsjyzm.com` ,
502- 'User-Agent' : `APP/4.7 CFNetwork/1206 Darwin/20.1.0` ,
495+ 'User-Agent' : `APP/5.0 CFNetwork/1206 Darwin/20.1.0` ,
503496 'Accept-Language' : `zh-cn`
504497 } ,
505498 body : zhimatxbodyVal ,
0 commit comments