feat: ws模块添加UE事件查询类型

This commit is contained in:
TsMask
2024-01-25 18:01:08 +08:00
parent 058d0b92c8
commit 376b7d83e6
3 changed files with 36 additions and 1 deletions

View File

@@ -37,6 +37,12 @@ func (s *WSReceiveImpl) Receive(client *model.WSClient, reqMsg model.WSRequest)
return err
}
client.MsgChan <- res
case "ue":
res, err := processor.GetUEConnect(reqMsg.RequestID, reqMsg.Data)
if err != nil {
return err
}
client.MsgChan <- res
default:
return fmt.Errorf("message type not supported")
}