fix
This commit is contained in:
parent
999dc36e76
commit
b9afdf1dda
|
@ -56,7 +56,7 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq) (resp *basi
|
||||||
if req.Sign != sign {
|
if req.Sign != sign {
|
||||||
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid")
|
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid")
|
||||||
}
|
}
|
||||||
//遍历websocket链接
|
//遍历websocket链接把数据传进去
|
||||||
mapConnPool.Range(func(key, value any) bool {
|
mapConnPool.Range(func(key, value any) bool {
|
||||||
ws, ok := value.(wsConnectItem)
|
ws, ok := value.(wsConnectItem)
|
||||||
if !ok {
|
if !ok {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user