refund
This commit is contained in:
parent
327a38177f
commit
cd840f36e4
|
@ -1980,6 +1980,14 @@ func (v *Vas) RefundOrder(ctx *gin.Context, req *vasproto.RefundOrderReq, opt *v
|
|||
case dbstruct.ProductTypeZone:
|
||||
switch product.Id {
|
||||
case dbstruct.ProductIdH5ZoneAdmission:
|
||||
if opt == nil {
|
||||
opt = vasproto.NewRefundOrderOpt().SetZoneRefundReq(&vasproto.ZoneRefundReq{
|
||||
Zid: order.GetZid(),
|
||||
ContactName: "op",
|
||||
ContactPhone: "op",
|
||||
Note: "op",
|
||||
})
|
||||
}
|
||||
err = v.refundZoneAdmission(ctx, order, req, opt)
|
||||
default:
|
||||
err = fmt.Errorf("不支持该商品退款: %s", product.Id)
|
||||
|
|
Loading…
Reference in New Issue