From fcd20e7fc235b9192243e9d16cc0ce96e80f90c9 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 26 Jul 2023 17:48:51 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/rendernotifylogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/websocket/internal/logic/rendernotifylogic.go b/server/websocket/internal/logic/rendernotifylogic.go index c203443e..5b3e3d2d 100644 --- a/server/websocket/internal/logic/rendernotifylogic.go +++ b/server/websocket/internal/logic/rendernotifylogic.go @@ -54,7 +54,7 @@ func (l *RenderNotifyLogic) RenderNotify(req *types.RenderNotifyReq) (resp *basi signHex := h.Sum(nil) sign := hex.EncodeToString(signHex) if req.Sign != sign { - return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid") + return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "invalid sign") } //遍历websocket链接把数据传进去 mapConnPool.Range(func(key, value any) bool {