Update YLXL.py

This commit is contained in:
CHERWING 2024-05-23 02:39:47 +08:00 committed by GitHub
parent 48e0a8c80d
commit 2ebc683cbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: