Merge remote-tracking branch 'origin/feature-refund_v2-wxy-20241204' into test
This commit is contained in:
commit
6cd2f0801f
|
@ -1354,8 +1354,25 @@ func (v *Vas) ZoneRefundAudit(ctx *gin.Context, req *vasproto.ZoneRefundAuditReq
|
|||
|
||||
err = v.store.SetZoneRefundAuditInfo(ctx, req.AuditId, req.RefundsStatus)
|
||||
if err != nil {
|
||||
logger.Error("ZoneRefundAudit SetZoneRefundAuditInfo fail, mid: %v, zid: %v, orderId: %v, err: %v", info.Mid, info.Zid, info.OrderId, err)
|
||||
return err
|
||||
}
|
||||
|
||||
// 退款
|
||||
err = v.RefundOrder(ctx, &vasproto.RefundOrderReq{
|
||||
OrderId: info.OrderId,
|
||||
Operator: fmt.Sprintf("%d", info.Mid),
|
||||
}, vasproto.NewRefundOrderOpt().SetZoneRefundReq(&vasproto.ZoneRefundReq{
|
||||
Zid: info.Zid,
|
||||
ContactName: info.ContactName,
|
||||
ContactPhone: info.ContactPhone,
|
||||
Note: info.Note,
|
||||
}))
|
||||
if err != nil {
|
||||
logger.Error("ZoneRefundAudit RefundOrder fail, mid: %v, zid: %v, orderId: %v, err: %v", info.Mid, info.Zid, info.OrderId, err)
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -1396,7 +1413,7 @@ func (v *Vas) UserRefundAuditTimes(ctx *gin.Context) error {
|
|||
continue
|
||||
}
|
||||
}
|
||||
|
||||
logger.Info("UserRefundAuditTimes Refund order streamer review timeout, list: %v, ", util.ToJson(list))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue