Browse Source

增加加密支付接口

kobe6258 4 days ago
parent
commit
cef1477895
1 changed files with 1 additions and 1 deletions
  1. 1 1
      middleware/webhook_middleware.go

+ 1 - 1
middleware/webhook_middleware.go

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