diff --git a/pzSignIn.py b/pzSignIn.py index 7d3a2b4..5436117 100644 --- a/pzSignIn.py +++ b/pzSignIn.py @@ -44,7 +44,7 @@ class PzSignIn: except Exception as e: print(e) print(response.text) - token = response_json["data"] + token = response_json["data"]['token'] if token is not None: print("=" * 30 + f"登录成功,开始执行签到" + "=" * 30) self.client.headers["Authorization"] = "Bearer " + token