diff --git a/app/http/entities/front/pay.go b/app/http/entities/front/pay.go index 4b4cf86..2d9540e 100644 --- a/app/http/entities/front/pay.go +++ b/app/http/entities/front/pay.go @@ -18,7 +18,7 @@ type PayCommonReqBody struct { Amount int `json:"amount" validate:"required" label:"支付金额,单位分"` ExtJson string `json:"ext_json" label:"扩展参数"` Desc string `json:"desc" validate:"max=100" label:"商品描述"` - ReturnUrl string `json:"return_url" validate:"required,max=1024" label:"支付成功后跳转的地址"` + ReturnUrl string `json:"return_url" validate:"max=1024" label:"支付成功后跳转的地址"` } type PayReqs struct {