update clientStore

This commit is contained in:
landaiqing
2024-09-08 15:30:19 +08:00
parent 834174c7cb
commit 52a7981beb
6 changed files with 18 additions and 43 deletions

View File

@@ -16,19 +16,4 @@ export const generateQrCode = (clientId: string) => {
}
);
};
/**
* 关闭websocket
* @param clientId
*/
export const closeWebsocket = (clientId: string) => {
return service.Get('/api/ws/delete',
{
params: {
client_id: clientId
},
meta: {
ignoreToken: true,
},
}
);
};