🚑🚑: 登录成功后增加用户名提示
This commit is contained in:
parent
8bb1dd6f01
commit
2fd704eb82
2
hykb.py
2
hykb.py
@ -154,10 +154,12 @@ class HaoYouKuaiBao():
|
|||||||
# print(response.json())
|
# print(response.json())
|
||||||
|
|
||||||
def sgin(self):
|
def sgin(self):
|
||||||
|
user_name = self.user_info()["user"]
|
||||||
info = ""
|
info = ""
|
||||||
# 登录
|
# 登录
|
||||||
data = self.login()
|
data = self.login()
|
||||||
if data['key'] == 'ok':
|
if data['key'] == 'ok':
|
||||||
|
print(f"用户: {user_name} 登录成功!✅")
|
||||||
if data['config']['csd_jdt'] == "100%":
|
if data['config']['csd_jdt'] == "100%":
|
||||||
# 收获
|
# 收获
|
||||||
if self.harvest():
|
if self.harvest():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user