日期修复
This commit is contained in:
parent
d5503e10e3
commit
47bced2ac9
@ -97,6 +97,8 @@ class Genshin:
|
|||||||
log.warning("账号签到失败!")
|
log.warning("账号签到失败!")
|
||||||
print(req.text)
|
print(req.text)
|
||||||
if is_data["is_sign"] or data["retcode"] == 0 or data["retcode"] == -5003:
|
if is_data["is_sign"] or data["retcode"] == 0 or data["retcode"] == -5003:
|
||||||
|
if data["retcode"] == 0:
|
||||||
|
sign_days += 1
|
||||||
return_data += f"\n{i[0]}已连续签到{sign_days}天\n今天获得的奖励是{tools.get_item(self.sign_Give[sign_days])}"
|
return_data += f"\n{i[0]}已连续签到{sign_days}天\n今天获得的奖励是{tools.get_item(self.sign_Give[sign_days])}"
|
||||||
else:
|
else:
|
||||||
return_data += f"\n{i[0]},本次签到失败"
|
return_data += f"\n{i[0]},本次签到失败"
|
||||||
|
Loading…
Reference in New Issue
Block a user