From a8096409d084a17d996ca6cfb064ba846d83fe4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 2 Nov 2022 18:02:55 +0800 Subject: [PATCH] 1 --- platformapi/tiktok_shop/tiktok_api/store_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platformapi/tiktok_shop/tiktok_api/store_test.go b/platformapi/tiktok_shop/tiktok_api/store_test.go index 6aedaf87..aa1e69fb 100644 --- a/platformapi/tiktok_shop/tiktok_api/store_test.go +++ b/platformapi/tiktok_shop/tiktok_api/store_test.go @@ -277,10 +277,9 @@ func TestStoreUpdateFence(t *testing.T) { func TestGetWarehouseByStore(t *testing.T) { accesstoken := `{"access_token":"d590b649-0dd9-4988-a5e2-bf7e06e2f105","expires_in":1667808519,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"f57c6a55-af5f-45ca-8ade-b2282be86341","authority_id":""}` a := New("7136048270014416392", "c397aa9f-3927-47c4-8cfe-4d84e02602e0", accesstoken) - resp, _ := a.GetWarehouseByStore(65402632) - fmt.Println(resp[65402632][0].OutFenceIds) - //fmt.Println(resp[0][62490423].OutFenceIds[0]) - //fmt.Println(err) + resp, err := a.GetWarehouseByStore(62490423) + fmt.Println(resp) + fmt.Println(err) } func TestUtilsTime2Date(t *testing.T) {