This commit is contained in:
richboo111
2022-08-10 14:25:31 +08:00
parent 1893f698c3
commit 4f997f7022
2 changed files with 2 additions and 2 deletions

View File

@@ -98,6 +98,7 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu
} else if dao.IsNoRowsError(err) {
err = nil
}
globals.SugarLogger.Debug("输出一下authBindList", authBindList)
} else {
err = nil
}

View File

@@ -220,13 +220,12 @@ func (c *PurchaseHandler) callbackAfsMsg2Status(msg *ebaiapi.CallbackMsg) (order
return orderStatus
}
// 审核售后单申请 全额退单
// 审核售后单申请 退货退款
func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *model.AfsOrder, approveType int, reason string) (err error) {
if globals.EnableEbaiStoreWrite {
if approveType == partner.AfsApproveTypeRefused {
err = api.EbaiAPI.OrderDisagreeReturnGoods(order.VendorOrderID, order.AfsOrderID, reason)
} else {
err = api.EbaiAPI.OrderAgreeReturnGoods(order.VendorOrderID, order.AfsOrderID)
}
}