mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2026-11-30 22:14:49 +08:00
增强安全性
This commit is contained in:
1 parent
734eab020e
commit
ae450372b1
6 files changed
+26
-5
No files matched your search
@@ -56,7 +56,7 @@ async def client_create():
|
||||
response_model=models.ResponseModel)
|
||||
@catch_exception()
|
||||
async def client_open(model: models.ClientOpenReqModel):
|
||||
ret = client_mgr.get_client(model.guid).open(model.smart)
|
||||
ret = client_mgr.get_client(model.guid).open(model.smart, model.show_login_qrcode)
|
||||
return response_json(1 if ret else 0)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user