소스 검색

增加加密支付接口

kobe6258 4 일 전
부모
커밋
cef1477895
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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