1
This commit is contained in:
@@ -296,6 +296,9 @@ func (a *API) RetailBatchInitData(trackInfo, poiCode string, foodDataList []map[
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
failedFoodList, err = handleRetailBatchResult(result)
|
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
|
return failedFoodList, err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ import (
|
|||||||
order_orderDetail_response "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/order_orderDetail/response"
|
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"
|
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/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"math"
|
"math"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
@@ -466,7 +465,6 @@ func (a *API) CreateOrderCallback(orderStatus []byte) (map[string][]interface{},
|
|||||||
if err := json.Unmarshal([]byte(data.Data), &create); err != nil {
|
if err := json.Unmarshal([]byte(data.Data), &create); err != nil {
|
||||||
return nil, CallbackResponseErr(false)
|
return nil, CallbackResponseErr(false)
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debugf("============================data:= %s", utils.Format4Output(create, false))
|
|
||||||
callbackResult[CallbackShipmentInfoChange] = append(callbackResult[CallbackShipmentInfoChange], create)
|
callbackResult[CallbackShipmentInfoChange] = append(callbackResult[CallbackShipmentInfoChange], create)
|
||||||
default:
|
default:
|
||||||
return nil, CallbackResponseErr(false)
|
return nil, CallbackResponseErr(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user