mirror of
https://github.com/smallevilbeast/ntchat.git
synced 2026-07-02 04:32:43 +08:00
增强安全性
This commit is contained in:
@@ -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