dd
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user