diff --git a/__pycache__/apps.cpython-310.pyc b/__pycache__/apps.cpython-310.pyc index ff7f4f5..04c4004 100644 Binary files a/__pycache__/apps.cpython-310.pyc and b/__pycache__/apps.cpython-310.pyc differ diff --git a/apps.py b/apps.py index 2cd5650..f7fcaf5 100644 --- a/apps.py +++ b/apps.py @@ -8,8 +8,8 @@ login_user_key = "f0649fc2aeb411eda71f00163e095b49" aotu_user_url = f"https://auth.mc-user.com:233/{login_user_key}/" cra_mc_server_api = "" -login_web_page = "" -register_web_page = "" +reload_password_page = "https://login.mc-user.com:233/account/login" +register_web_page = "https://login.mc-user.com:233/f0649fc2aeb411eda71f00163e095b49/register" server_list_configfile = "config_app/server_list_config.db" diff --git a/config_app/login_user.json b/config_app/login_user.json deleted file mode 100644 index 08bc834..0000000 --- a/config_app/login_user.json +++ /dev/null @@ -1 +0,0 @@ -{"accessToken": "6110ce0e0bc711ef92c5e252f2c508d4", "clientToken": "6065ac1d-0bc7-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"} \ No newline at end of file diff --git a/config_app/server_list_config.db b/config_app/server_list_config.db deleted file mode 100644 index 4d1c7d7..0000000 Binary files a/config_app/server_list_config.db and /dev/null differ diff --git a/main.py b/main.py index e406283..a2cdd59 100644 --- a/main.py +++ b/main.py @@ -76,7 +76,9 @@ class Login_users_window_app(QWidget): login_user_button.clicked.connect(self.login_users_mcgames) login_user_box.addWidget(login_user_button, 2, 0, 1, 0) register_user = QToolButton(text="注册") + register_user.clicked.connect(lambda: os.startfile(apps.register_web_page)) reload_password = QToolButton(text="忘记密码?") + reload_password.clicked.connect(lambda: os.startfile(apps.reload_password_page)) login_user_box.addWidget(register_user, 3, 0, alignment=Qt.AlignTop | Qt.AlignLeft) login_user_box.addWidget(reload_password, 3, 1, alignment=Qt.AlignTop | Qt.AlignRight) login_user_box_hbox.addLayout(login_user_box)