消毒机设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
336 B

import { createWebSocket } from 'libs/socket'
const wsClient = createWebSocket()
export const login = async (params: User.Login) => {
return await wsClient.waitAndSend({
messageType: 'Command',
fnName: 'login',
className: 'UserMgrService',
messageId: `msg_${Date.now()}`,
params: {
...params,
},
})
}