This commit is contained in:
邹宗楠
2023-10-24 15:42:40 +08:00
parent 8a3d30109c
commit 21cb05c1f2
2 changed files with 7 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ 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"
)
@@ -464,6 +465,7 @@ 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)