Explorar el Código

es删除数据

kobe6258 hace 4 meses
padre
commit
01b9afe62d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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