1
This commit is contained in:
@@ -212,7 +212,6 @@ func (a *API) OrderStatusAndPsInfoNew(param map[string]interface{}, vendorStoreI
|
||||
// 已发货订单更换物流
|
||||
orderDetail, err := a.GetTiktokOrderDetail(param["order_id"].(string))
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("TiktokLogisticsStatusCALLRIDER ERR=== %v", err)
|
||||
return err
|
||||
}
|
||||
if orderDetail.OrderStatus >= CreateOrderStatusDelivery {
|
||||
|
||||
@@ -34,7 +34,6 @@ import (
|
||||
superm_product_createSubProduct_request "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/superm_product_createSubProduct/request"
|
||||
superm_product_launchProduct_request "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/api/superm_product_launchProduct/request"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"strings"
|
||||
@@ -193,7 +192,6 @@ func (a *API) QualityList(categoryId int64) ([]*product_qualificationConfig_resp
|
||||
}
|
||||
configListRequired = append(configListRequired, &v)
|
||||
}
|
||||
globals.SugarLogger.Debugf("configListRequired=== :%s", utils.Format4Output(configListRequired, false))
|
||||
return configListRequired, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -283,13 +283,11 @@ func (a *API) GetSaleLimitDetail(saleLimitId *[]int64) (*trade_batchGetTradeLimi
|
||||
func (a *API) FreightTemplateCreate(param *freightTemplate_create_request.FreightTemplateCreateParam) (*freightTemplate_create_response.FreightTemplateCreateData, error) {
|
||||
request := freightTemplate_create_request.New()
|
||||
request.Param = param
|
||||
globals.SugarLogger.Debugf("创建运费模板参数====%v", utils.Format4Output(param, false))
|
||||
response, err := request.Execute(a.accessTokenObj)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if response.Code != RequestSuccessCode {
|
||||
globals.SugarLogger.Debugf("创建门店运费模板错误信息====%v", errors.New(response.SubMsg))
|
||||
return nil, errors.New(response.LogId + ":" + response.Msg + "," + response.SubMsg)
|
||||
}
|
||||
return response.Data, nil
|
||||
|
||||
@@ -78,7 +78,6 @@ func TestGetStoreList2(t *testing.T) {
|
||||
PageSize: "100",
|
||||
})
|
||||
if err != nil {
|
||||
globals.SugarLogger.Debugf("err=======%s", utils.Format4Output(err, false))
|
||||
continue
|
||||
}
|
||||
for _, v := range data.Data.StoreDetailList {
|
||||
|
||||
Reference in New Issue
Block a user