diff --git a/platformapi/tiktok_shop/ascription_place/dd_test.go b/platformapi/tiktok_shop/ascription_place/dd_test.go index d113d922..85f60292 100644 --- a/platformapi/tiktok_shop/ascription_place/dd_test.go +++ b/platformapi/tiktok_shop/ascription_place/dd_test.go @@ -1,11 +1,12 @@ package ascription_place import ( + "fmt" "testing" ) func TestAscriptionPlace(t *testing.T) { - //p, err := Find("18744776542") - //fmt.Println(p) - //fmt.Println(err) + p, err := Find("15184316052") + fmt.Println(p) + fmt.Println(err) } diff --git a/platformapi/tiktok_shop/tiktok_api/afs_test.go b/platformapi/tiktok_shop/tiktok_api/afs_test.go index 34592cb2..a707d100 100644 --- a/platformapi/tiktok_shop/tiktok_api/afs_test.go +++ b/platformapi/tiktok_shop/tiktok_api/afs_test.go @@ -18,7 +18,7 @@ import ( // "authority_id": "" //}` -var token = `{"access_token":"26a0ee33-fca9-4b80-980a-3d6cf48ca159","expires_in":1678656378,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"ef12dcb4-766d-4e6b-905d-448a25279431","authority_id":""}` +var token = `{"access_token":"c2e78f4f-fb23-4729-b9b1-8330209df50b","expires_in":1679259342,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"83548fb9-d9ea-4665-bd8c-4dbb949338de","authority_id":""}` //var token = `{"access_token":"e3173e9f-266f-4d87-88e7-e7cd837bc9d9","expires_in":1672882632,"scope":"SCOPE","shop_id":68023619,"shop_name":"京西到家","refresh_token":"5070aae2-493f-46bd-b5d6-6ea0cd64729f","authority_id":""}` diff --git a/platformapi/tiktok_shop/tiktok_api/sku_test.go b/platformapi/tiktok_shop/tiktok_api/sku_test.go index 9ed6fc8a..12345096 100644 --- a/platformapi/tiktok_shop/tiktok_api/sku_test.go +++ b/platformapi/tiktok_shop/tiktok_api/sku_test.go @@ -62,8 +62,8 @@ func TestGetSkuDetailLocalId(t *testing.T) { func TestUpdateSkuStore(t *testing.T) { err := a.UpdateSkuStock(&sku_syncStock_request.SkuSyncStockParam{ - ProductId: 3592147984177100181, - OutSkuId: 29170, + ProductId: 3605142143867471418, + OutSkuId: 6045168, StockNum: 2, Incremental: false, }) @@ -222,7 +222,7 @@ func TestDeleteSkuAndUploadSkuFengJinBiXu222(t *testing.T) { CheckStatus: 3, // 1-未提交;2-待审核;3-审核通过;4-审核未通过;5-封禁;7-审核通过待上架 Page: int64(i), Size: 100, - StoreId: 69395217, + StoreId: 63841925, }) if err != nil { globals.SugarLogger.Debugf("=index := %d ,err := %s", i, utils.Format4Output(err, false))