Commit 98f20995 by BellCodeEditor

save project

parent 1182cd80
Showing with 3 additions and 2 deletions
...@@ -30,6 +30,7 @@ def register(): # 注册验证 ...@@ -30,6 +30,7 @@ def register(): # 注册验证
content=json.dumps(b) content=json.dumps(b)
with open('user.txt','w',encoding='UTF-8') as file: with open('user.txt','w',encoding='UTF-8') as file:
file.write(content) file.write(content)
reg_to_login()
def login(): # 登录验证 def login(): # 登录验证
pass pass
......
{"admin": "123456", "1": "1", "4": "6", "0": "0"} {"admin": "123456", "1": "1"}
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment