实现 sse 检查订单,减少请求次数

This commit is contained in:
2025-12-04 09:45:35 +08:00
parent caa997b95c
commit 2d053ddf49
14 changed files with 107 additions and 67 deletions

View File

@@ -85,7 +85,7 @@ func CreateWhitelist(c *fiber.Ctx) error {
// 解析请求参数
req := new(CreateWhitelistReq)
err = g.Validator.Validate(c, req)
err = g.Validator.ParseBody(c, req)
if err != nil {
return err
}