mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-11-04 06:34:38 +08:00
Update smzdm_checkin.py
This commit is contained in:
@@ -88,10 +88,10 @@ class SmzdmBot(object):
|
|||||||
🏅积分{point}
|
🏅积分{point}
|
||||||
🏅经验{exp}
|
🏅经验{exp}
|
||||||
🏅等级{rank}
|
🏅等级{rank}
|
||||||
🏅补签卡{cards}\n"""
|
🏅补签卡{cards}"""
|
||||||
|
|
||||||
print(msg)
|
print(msg)
|
||||||
return sep + "\n" + msg
|
return sep + "\n" + msg + "\n"
|
||||||
else:
|
else:
|
||||||
print("登录失败", resp.json())
|
print("登录失败", resp.json())
|
||||||
msg += "登录失败\n"
|
msg += "登录失败\n"
|
||||||
@@ -115,9 +115,9 @@ class SmzdmBot(object):
|
|||||||
]["continue_checkin_reward_show"]
|
]["continue_checkin_reward_show"]
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"检查额外奖励失败: {e}")
|
print(f"检查额外奖励失败: {e}\n")
|
||||||
if not continue_checkin_reward_show:
|
if not continue_checkin_reward_show:
|
||||||
print("今天没有额外奖励")
|
print("今天没有额外奖励\n")
|
||||||
return
|
return
|
||||||
url = "https://user-api.smzdm.com/checkin/extra_reward"
|
url = "https://user-api.smzdm.com/checkin/extra_reward"
|
||||||
data = self._data()
|
data = self._data()
|
||||||
|
|||||||
Reference in New Issue
Block a user