From 40e8b5d5330392c982b506239bee86cfb21f0416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 25 Oct 2023 10:26:19 +0800 Subject: [PATCH] 1 --- platformapi/tiktok_shop/tiktok_api/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/tiktok_shop/tiktok_api/order.go b/platformapi/tiktok_shop/tiktok_api/order.go index eee00991..37c8e812 100644 --- a/platformapi/tiktok_shop/tiktok_api/order.go +++ b/platformapi/tiktok_shop/tiktok_api/order.go @@ -327,9 +327,9 @@ func (a *API) OrderDelivering(param *order_logisticsAdd_request.OrderLogisticsAd func (a *API) CreateOrderCallback(orderStatus []byte) (map[string][]interface{}, *CallbackResponse) { var resp []*OrderCallback if err := json.Unmarshal(orderStatus, &resp); err != nil { + fmt.Println(err) return nil, &CallbackResponse{Code: CallbackFailCode, Msg: CallbackFail} } - globals.SugarLogger.Debugf("============================resp:= %s", utils.Format4Output(resp, false)) callbackResult := make(map[string][]interface{}, 0) for _, data := range resp {