🐛 fix: ws echo #261

This commit is contained in:
linyuchen 2024-06-21 16:20:26 +08:00
parent 2f87e3818e
commit 8871331b7c

View File

@ -27,6 +27,7 @@ class OB11WebsocketServer extends WebsocketServerBase {
}
try {
let handleResult = await action.websocketHandle(params, echo)
handleResult.echo = echo
wsReply(wsClient, handleResult)
} catch (e) {
wsReply(wsClient, OB11Response.error(`api处理出错:${e.stack}`, 1200, echo))