🚑🚑: 登录成功后增加用户名提示

This commit is contained in:
liulong 2024-09-25 16:07:49 +08:00
parent 8bb1dd6f01
commit 2fd704eb82

View File

@ -154,10 +154,12 @@ class HaoYouKuaiBao():
# print(response.json())
def sgin(self):
user_name = self.user_info()["user"]
info = ""
# 登录
data = self.login()
if data['key'] == 'ok':
print(f"用户: {user_name} 登录成功!✅")
if data['config']['csd_jdt'] == "100%":
# 收获
if self.harvest():