fix
This commit is contained in:
parent
06e4f1f96e
commit
fcd20e7fc2
|
@ -54,7 +54,7 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq) (resp *basi
|
||||||
signHex := h.Sum(nil)
|
signHex := h.Sum(nil)
|
||||||
sign := hex.EncodeToString(signHex)
|
sign := hex.EncodeToString(signHex)
|
||||||
if req.Sign != sign {
|
if req.Sign != sign {
|
||||||
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid")
|
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid sign")
|
||||||
}
|
}
|
||||||
//遍历websocket链接把数据传进去
|
//遍历websocket链接把数据传进去
|
||||||
mapConnPool.Range(func(key, value any) bool {
|
mapConnPool.Range(func(key, value any) bool {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user