fix(maa): 修复森空岛签到信息特定情况下不弹出通知的问题

This commit is contained in:
DLmaster361
2025-06-13 10:02:43 +08:00
parent a9b3b8b6f4
commit b3aa4fc776
2 changed files with 12 additions and 2 deletions

View File

@@ -153,7 +153,9 @@ def skland_sign_in(token) -> dict:
headers=header_login,
).json()
if rsp["status"] != 0:
raise Exception(f'使用token: {token} 获得认证代码失败:{rsp.get("msg")}')
raise Exception(
f'使用token: {token[:3]}******{token[-3:]} 获得认证代码失败:{rsp.get("msg")}'
)
return rsp["data"]["code"]
# 获取已绑定的角色列表