mirror of
https://github.com/CHERWING/CHERWIN_SCRIPTS.git
synced 2024-11-22 09:04:11 +08:00
Update YLXL.py
This commit is contained in:
parent
48e0a8c80d
commit
2ebc683cbf
9
YLXL.py
9
YLXL.py
@ -131,9 +131,9 @@ class RUN:
|
||||
point = response.get('data')
|
||||
print(f'{act_name}成功!✅')
|
||||
if END:
|
||||
Log(f'执行后积分:【{data}】')
|
||||
Log(f'执行后积分:【{point}】')
|
||||
else:
|
||||
Log(f'当前积分:【{data}】')
|
||||
Log(f'当前积分:【{point}】')
|
||||
return True
|
||||
else:
|
||||
print(response)
|
||||
@ -146,7 +146,9 @@ class RUN:
|
||||
response = self.make_request(url)
|
||||
if response.get('status', False):
|
||||
data = response.get('data',{})
|
||||
point = data.get('dailySign', {}).get('bonusPoint', '')
|
||||
dailySign = data.get('dailySign', None)
|
||||
if dailySign != None:
|
||||
point = dailySign.get('bonusPoint', '')
|
||||
print(f'{act_name}成功!✅')
|
||||
Log(f'获得积分:【{point}】')
|
||||
return True
|
||||
@ -190,6 +192,7 @@ class RUN:
|
||||
random_delay()
|
||||
self.get_Point(True)
|
||||
|
||||
|
||||
self.sendMsg()
|
||||
return True
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user