This commit is contained in:
邹宗楠
2023-10-25 16:54:01 +08:00
parent 31ecbdf60c
commit e45bea08d3
2 changed files with 3 additions and 2 deletions

View File

@@ -296,6 +296,9 @@ func (a *API) RetailBatchInitData(trackInfo, poiCode string, foodDataList []map[
if err == nil {
failedFoodList, err = handleRetailBatchResult(result)
}
globals.SugarLogger.Debugf("=============foodDataList := %s", utils.Format4Output(foodDataList, false))
globals.SugarLogger.Debugf("=============result := %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("=============err := %v", err)
return failedFoodList, err
}

View File

@@ -19,7 +19,6 @@ import (
order_orderDetail_response "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/order_orderDetail/response"
order_searchList_request "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/order_searchList/request"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"math"
"time"
)
@@ -466,7 +465,6 @@ func (a *API) CreateOrderCallback(orderStatus []byte) (map[string][]interface{},
if err := json.Unmarshal([]byte(data.Data), &create); err != nil {
return nil, CallbackResponseErr(false)
}
globals.SugarLogger.Debugf("============================data:= %s", utils.Format4Output(create, false))
callbackResult[CallbackShipmentInfoChange] = append(callbackResult[CallbackShipmentInfoChange], create)
default:
return nil, CallbackResponseErr(false)