Browse Source

es删除数据

kobe6258 4 months ago
parent
commit
01b9afe62d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      middleware/webhook_middleware.go

+ 1 - 1
middleware/webhook_middleware.go

@@ -18,7 +18,7 @@ var (
 
 func WebHookAuthMiddleware() web.FilterFunc {
 	return func(ctx *context.Context) {
-		if strings.Contains(ctx.Input.URL(), "payment") {
+		if strings.Contains(ctx.Input.URL(), "payment") || strings.Contains(ctx.Input.URL(), "es/delete") {
 			return
 		}
 		body := ctx.Input.RequestBody