日常更新
This commit is contained in:
parent
b4643700f3
commit
b53d6050e6
Binary file not shown.
3
apps.py
3
apps.py
|
@ -8,6 +8,9 @@ login_user_key = "f0649fc2aeb411eda71f00163e095b49"
|
||||||
aotu_user_url = f"https://auth.mc-user.com:233/{login_user_key}/"
|
aotu_user_url = f"https://auth.mc-user.com:233/{login_user_key}/"
|
||||||
cra_mc_server_api = ""
|
cra_mc_server_api = ""
|
||||||
|
|
||||||
|
login_web_page = ""
|
||||||
|
register_web_page = ""
|
||||||
|
|
||||||
server_list_configfile = "config_app/server_list_config.db"
|
server_list_configfile = "config_app/server_list_config.db"
|
||||||
|
|
||||||
login_json_file = "config_app/login_user.json"
|
login_json_file = "config_app/login_user.json"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"accessToken": "336491270a1611ef92c5e252f2c508d4", "clientToken": "32cbdf4d-0a16-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"}
|
{"accessToken": "6110ce0e0bc711ef92c5e252f2c508d4", "clientToken": "6065ac1d-0bc7-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"}
|
5
main.py
5
main.py
|
@ -106,8 +106,8 @@ class Login_users_window_app(QWidget):
|
||||||
with open(file=apps.login_json_file, mode='w', encoding="UTF-8", newline='') as f_write:
|
with open(file=apps.login_json_file, mode='w', encoding="UTF-8", newline='') as f_write:
|
||||||
json.dump(data_login_file, f_write)
|
json.dump(data_login_file, f_write)
|
||||||
self.destroy()
|
self.destroy()
|
||||||
self.start_craserver_client_window = My_APP_Window(data=data_login_file, code=0)
|
self.login_user_window = Login_Window_app()
|
||||||
self.start_craserver_client_window.show()
|
self.login_user_window.show()
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def mousePressEvent(self, event):
|
def mousePressEvent(self, event):
|
||||||
|
@ -215,6 +215,7 @@ class My_APP_Window(QTabWidget):
|
||||||
def start_games_apps(self):
|
def start_games_apps(self):
|
||||||
if self.server_list.currentRow() == -1:
|
if self.server_list.currentRow() == -1:
|
||||||
return apps.Message_ok(message="请先选择需要加入的服务器")
|
return apps.Message_ok(message="请先选择需要加入的服务器")
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def zxh_apps(self):
|
def zxh_apps(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user