This commit is contained in:
邹宗楠
2026-07-31 10:18:37 +08:00
parent 93178c924b
commit 1cfe8bf1b7

View File

@@ -372,9 +372,10 @@ func (c *PurchaseHandler) GetAfsStatusFromVendorStatus(resType int, notifyType s
// 审核售后单申请 // 审核售后单申请
func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *model.AfsOrder, approveType int, reason string, review map[string]interface{}) (err error) { func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *model.AfsOrder, approveType int, reason string, review map[string]interface{}) (err error) {
globals.SugarLogger.Debugf("-----AgreeOrRefuseRefund review:= %s", utils.Format4Output(review, false))
if globals.EnableMtwmStoreWrite { if globals.EnableMtwmStoreWrite {
var param *mtwmapi.ReviewAfterSalesInfo var param *mtwmapi.ReviewAfterSalesInfo
if err = utils.Map2StructByJson(review, &param, true); err != nil { if err = utils.Map2StructByJson(review, &param, false); err != nil {
return err return err
} }
globals.SugarLogger.Debugf("-----AgreeOrRefuseRefund:= %s", utils.Format4Output(param, false)) globals.SugarLogger.Debugf("-----AgreeOrRefuseRefund:= %s", utils.Format4Output(param, false))