日常更新
This commit is contained in:
parent
b53d6050e6
commit
47a1765585
Binary file not shown.
4
apps.py
4
apps.py
|
@ -8,8 +8,8 @@ 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 = ""
|
reload_password_page = "https://login.mc-user.com:233/account/login"
|
||||||
register_web_page = ""
|
register_web_page = "https://login.mc-user.com:233/f0649fc2aeb411eda71f00163e095b49/register"
|
||||||
|
|
||||||
server_list_configfile = "config_app/server_list_config.db"
|
server_list_configfile = "config_app/server_list_config.db"
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{"accessToken": "6110ce0e0bc711ef92c5e252f2c508d4", "clientToken": "6065ac1d-0bc7-11ef-92c5-e252f2c508d4", "id": "a6143eb7a7883daab9a05dbe052879a1", "name": "GameDaBai"}
|
|
Binary file not shown.
2
main.py
2
main.py
|
@ -76,7 +76,9 @@ class Login_users_window_app(QWidget):
|
||||||
login_user_button.clicked.connect(self.login_users_mcgames)
|
login_user_button.clicked.connect(self.login_users_mcgames)
|
||||||
login_user_box.addWidget(login_user_button, 2, 0, 1, 0)
|
login_user_box.addWidget(login_user_button, 2, 0, 1, 0)
|
||||||
register_user = QToolButton(text="注册")
|
register_user = QToolButton(text="注册")
|
||||||
|
register_user.clicked.connect(lambda: os.startfile(apps.register_web_page))
|
||||||
reload_password = QToolButton(text="忘记密码?")
|
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(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.addWidget(reload_password, 3, 1, alignment=Qt.AlignTop | Qt.AlignRight)
|
||||||
login_user_box_hbox.addLayout(login_user_box)
|
login_user_box_hbox.addLayout(login_user_box)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user