7
7
8
8
*/
9
9
10
- const $ = new Env ( "中青看点" )
10
+ const $ = new Env ( "中青看点" ) ;
11
11
12
12
const notify = $ . isNode ( ) ? require ( './sendNotify' ) : '' ;
13
13
//const youthNode = $.isNode() ? require('./youth_env') : '';
14
14
15
15
// 可设置部分
16
- let notifyInterval = $ . getdata ( "notifytimes" ) || 50 //通知间隔,默认抽奖每50次通知一次,如需关闭全部通知请设为0
17
- let ONCard = $ . getdata ( 'zqcard' ) || "false" //早起打卡开关
18
- let s = $ . getdata ( 'delay_rotary_zq' ) || "10" //转盘延迟时间
19
- let withdrawcash = $ . getdata ( 'zqcash' ) || 30 //提现金额
16
+ let notifyInterval = $ . getdata ( "notifytimes" ) || 50 ; //通知间隔,默认抽奖每50次通知一次,如需关闭全部通知请设为0
17
+ let ONCard = $ . getdata ( 'zqcard' ) || "false" ; //早起打卡开关
18
+ let s = $ . getdata ( 'delay_rotary_zq' ) || "10" ; //转盘延迟时间
19
+ let withdrawcash = $ . getdata ( 'zqcash' ) || 30 ; //提现金额
20
20
let cardTime = $ . getdata ( 'zqtime' ) || "05" ; //打卡时间
21
21
22
22
// 需获取部分
@@ -27,14 +27,10 @@ let artBody = $.getdata('read_zq');
27
27
let readTimes = $ . getdata ( 'readtime_zq' ) ;
28
28
29
29
//声明部分
30
- let rotaryscore = 0 ,
31
- doublerotary = 0 ;
32
- let cookieArr = [ ] ,
33
- cookie = '' ,
34
- readArr = [ ] ,
35
- articbody = '' ,
36
- timeArr = [ ] ,
37
- timebody = '' ;
30
+ let rotaryscore = 0 , doublerotary = 0 ;
31
+ let cookieArr = [ ] , cookie = '' ;
32
+ let readArr = [ ] , articbody = '' ;
33
+ let timeArr = [ ] , timebody = '' ;
38
34
39
35
// 脚本部分
40
36
if ( isGetCookie = typeof $request !== 'undefined' ) {
@@ -314,7 +310,7 @@ function withDraw() {
314
310
'User-Agent' : 'KDApp/2.0.0 (iPhone; iOS 14.5; Scale/3.00)'
315
311
} ,
316
312
body : withdrawBody ,
317
- }
313
+ } ;
318
314
$ . post ( url , ( error , resp , data ) => {
319
315
withDrawres = JSON . parse ( data )
320
316
if ( withDrawres . error_code == 0 ) {
0 commit comments