feat:前台,returnUrl不必填
This commit is contained in:
parent
e77a7622b1
commit
2cb6a07362
|
@ -18,7 +18,7 @@ type PayCommonReqBody struct {
|
||||||
Amount int `json:"amount" validate:"required" label:"支付金额,单位分"`
|
Amount int `json:"amount" validate:"required" label:"支付金额,单位分"`
|
||||||
ExtJson string `json:"ext_json" label:"扩展参数"`
|
ExtJson string `json:"ext_json" label:"扩展参数"`
|
||||||
Desc string `json:"desc" validate:"max=100" 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 {
|
type PayReqs struct {
|
||||||
|
|
Loading…
Reference in New Issue