Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
8323f3917a
|
@ -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