1
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package material_searchFolder_response
|
package material_searchFolder_response
|
||||||
|
|
||||||
|
import doudian_sdk "git.rosy.net.cn/baseapi/platformapi/tiktok_shop/sdk-golang/core"
|
||||||
|
|
||||||
type MaterialSearchFolderResponse struct {
|
type MaterialSearchFolderResponse struct {
|
||||||
doudian_sdk.BaseDoudianOpApiResponse
|
doudian_sdk.BaseDoudianOpApiResponse
|
||||||
Data *MaterialSearchFolderData `json:"data"`
|
Data *MaterialSearchFolderData `json:"data"`
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestCreateFolad(t *testing.T) {
|
func TestCreateFolad(t *testing.T) {
|
||||||
a := New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", token)
|
|
||||||
data, err := a.CreateFolder("测试创建文件夹1019")
|
data, err := a.CreateFolder("测试创建文件夹1019")
|
||||||
fmt.Println("err=====", err)
|
fmt.Println("err=====", err)
|
||||||
fmt.Println("LogId====", data.LogId) //2022092811422001020812109607601B77
|
fmt.Println("LogId====", data.LogId) //2022092811422001020812109607601B77
|
||||||
|
|||||||
@@ -448,8 +448,6 @@ func (a *API) BindFenceByStore(param *warehouse_bindFencesByStore_request.Wareho
|
|||||||
request := warehouse_bindFencesByStore_request.New()
|
request := warehouse_bindFencesByStore_request.New()
|
||||||
request.Param = param
|
request.Param = param
|
||||||
response, err := request.Execute(a.accessTokenObj)
|
response, err := request.Execute(a.accessTokenObj)
|
||||||
globals.SugarLogger.Debugf("门店绑定电子围栏=========:%s", request.GetUrlPath())
|
|
||||||
globals.SugarLogger.Debugf("门店绑定电子围栏:=%s", utils.Format4Output(response, false))
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user