fix:打开安全校验

This commit is contained in:
fuzhongyun 2025-12-19 10:10:45 +08:00
parent 284624bcba
commit 8414a57661
1 changed files with 2 additions and 2 deletions

View File

@ -79,11 +79,11 @@ func (s *CapabilityService) ProductIngest(c *fiber.Ctx) error {
// 时间窗口校验 // 时间窗口校验
if ts != "" && !util.IsInTimeWindow(ts, 5*time.Minute) { if ts != "" && !util.IsInTimeWindow(ts, 5*time.Minute) {
// return errorcode.AuthNotFound return errorcode.AuthNotFound
} }
// token校验 // token校验
if token == "" || token != "A7f9KQ3mP2X8LZC4R5e" { if token == "" || token != "A7f9KQ3mP2X8LZC4R5e" {
// return errorcode.KeyErr() return errorcode.KeyErr()
} }
// 解析请求参数 // 解析请求参数