1
This commit is contained in:
@@ -119,6 +119,13 @@ func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *mod
|
||||
//}
|
||||
|
||||
if approveType == partner.AfsApproveTypeRefused { // 拒绝退货
|
||||
// tiktokShop.AfterSaleEmuRefuseToReturnOneApply
|
||||
// tiktokShop.AfterSaleEmuRefuseToReturnTwoApply
|
||||
// tiktokShop.AfterSaleEmuRefuseOnlyRefundApply
|
||||
// tiktokShop.AfterSaleEmuRefundChangeGoodsOneApply
|
||||
// tiktokShop.AfterSaleEmuRefundChangeGoodsTwoApply
|
||||
// tiktokShop.AfterSaleEmuRefundReissueApply
|
||||
|
||||
//switch afsOrderDetail.Data.ProcessInfo.AfterSaleInfo.AfterSaleType {
|
||||
//case :
|
||||
//
|
||||
@@ -147,6 +154,16 @@ func (c *PurchaseHandler) AgreeOrRefuseRefund(ctx *jxcontext.Context, order *mod
|
||||
}
|
||||
return fmt.Errorf("%s", strings.Join(errList, "--"))
|
||||
} else if approveType == partner.AfsApproveTypeRefund { // 同意
|
||||
// tiktokShop.AfterSaleEmuAgreeToReturnOneApply
|
||||
// tiktokShop.AfterSaleEmuAgreeToReturnTwoApply
|
||||
// tiktokShop.AfterSaleEmuReturnGoodsToRefundApply
|
||||
// tiktokShop.AfterSaleEmuAgreeOnlyRefundApply
|
||||
// tiktokShop.AfterSaleEmuAgreeChangeGoodsOneApply
|
||||
// tiktokShop.AfterSaleEmuAgreeChangeGoodsTwoApply
|
||||
// tiktokShop.AfterSaleEmuChangeGoodsToRefundApply
|
||||
// tiktokShop.AfterSaleEmuAgreePreSaleReturnApply
|
||||
// tiktokShop.AfterSaleEmuAgreeReissueApply
|
||||
|
||||
errList := make([]string, 0, 0)
|
||||
if err = tiktokApi.AfterSaleOperate(tiktokShop.AfterSaleEmuAgreeToReturnOneApply, order.AfsOrderID, reason, utils.Str2Int64(order.VendorStoreID)); err != nil {
|
||||
errList = append(errList, err.Error())
|
||||
|
||||
Reference in New Issue
Block a user