From 0c4c9a7f845662ac40ad559858595a7920b39232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 11 Nov 2022 15:24:46 +0800 Subject: [PATCH] 1 --- platformapi/tiktok_shop/tiktok_api/sku_test.go | 2 +- platformapi/tiktok_shop/tiktok_api/sku_warehouse_test.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/platformapi/tiktok_shop/tiktok_api/sku_test.go b/platformapi/tiktok_shop/tiktok_api/sku_test.go index 77671b68..d256dc8d 100644 --- a/platformapi/tiktok_shop/tiktok_api/sku_test.go +++ b/platformapi/tiktok_shop/tiktok_api/sku_test.go @@ -38,7 +38,7 @@ func TestCategory(t *testing.T) { } func TestGetCatePropertyV2(t *testing.T) { - data, err := a.GetCatePropertyV2(29073) + data, err := a.GetCatePropertyV2(33622) fmt.Println("err=====", err) globals.SugarLogger.Debugf("data:=%s", utils.Format4Output(data, false)) fmt.Println("data====", data) // 202209281558450102081001701D7B32C5 diff --git a/platformapi/tiktok_shop/tiktok_api/sku_warehouse_test.go b/platformapi/tiktok_shop/tiktok_api/sku_warehouse_test.go index 0c66e17d..693989db 100644 --- a/platformapi/tiktok_shop/tiktok_api/sku_warehouse_test.go +++ b/platformapi/tiktok_shop/tiktok_api/sku_warehouse_test.go @@ -32,8 +32,6 @@ func TestCreateFolad(t *testing.T) { } func TestUploadImg(t *testing.T) { - accesstoken := `{"access_token":"60f530b2-9ab6-4723-b487-c094918f0d21","expires_in":1666257163,"scope":"SCOPE","shop_id":"","shop_name":"小时达开放平台对接专用店","refresh_token":"1220666a-5e88-458c-a8c0-06d949fbbd3f","authority_id":""}` - a := New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", accesstoken) param := []Imgs{ {Name: "测试图片1", Url: "https://image.jxc4.com/image/3f8d9759eda4863e28a0fff523f9d477.jpg"}, {Name: "测试图片2", Url: "https://image.jxc4.com/image/06a488c740fe9f6e40a7fffe67a39570.jpg"},