This commit is contained in:
邹宗楠
2023-12-09 09:11:45 +08:00
parent 148be5b793
commit edebc7ab41
4 changed files with 16 additions and 16 deletions

View File

@@ -660,7 +660,9 @@ func (a *API) EbaiRefundOrder(param *RefundOrderExamine) error {
if (param.ActionType == RefundTypeRefuse || param.ActionType == RefundTypeRefuseGoods) && param.ReasonCode == "" {
param.ReasonCode = "7001"
}
if param.ReasonRemarks != "" {
param.ActionType = 2
}
_, err := a.AccessAPI("order.reverse.process", utils.Struct2MapByJson(param))
return err
}