Browse Source

增加加密支付接口

kobe6258 4 ngày trước cách đây
mục cha
commit
cef1477895
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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