From 2233ed09c00fb9c8dfa4168fe70a12550283e7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 28 Oct 2022 13:55:49 +0800 Subject: [PATCH] 1 --- platformapi/tiktok_shop/tiktok_api/order.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformapi/tiktok_shop/tiktok_api/order.go b/platformapi/tiktok_shop/tiktok_api/order.go index 0d34d5cf..92c6f23d 100644 --- a/platformapi/tiktok_shop/tiktok_api/order.go +++ b/platformapi/tiktok_shop/tiktok_api/order.go @@ -60,11 +60,12 @@ func (a *API) QueryAfsOrderDetail(afterSaleId string, needOperationRecord bool) } // ApplyMarketAfterSale 拣货时商户发现订单缺货或者缺重 -func (a *API) ApplyMarketAfterSale(skuOrderId int64, afterSaleReason int32) (afterSaleId string, err error) { +func (a *API) ApplyMarketAfterSale(skuOrderId, count int64, afterSaleReason int32) (afterSaleId string, err error) { request := afterSale_applyMarketAfterSale_request.New() param := request.GetParams() param.SkuOrderId = skuOrderId param.AfterSaleReason = afterSaleReason // 目前固定值为2缺货 + param.ItemCount = count // 拒收是必填 result, err := request.Execute(a.accessTokenObj) if err != nil {