This commit is contained in:
邹宗楠
2025-05-06 15:53:24 +08:00
parent c248d8e1d1
commit db1228637c
5 changed files with 50 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ import (
)
// 京西速食(蔬菜)
var token1 = `{"access_token":"ntx7g036841j7t4nq1hehos0000yhugi-11","expires_in":1745854497,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市","refresh_token":"u2d0v1sjz11j7t4nq1hehos0000yhugi-12","authority_id":""}`
var token1 = `{"access_token":"tb0o54fcco1j7t4nq1hehos0000yhugi-11","expires_in":1746456141,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市","refresh_token":"fep4bvr9yf1j7t4nq1hehos0000yhugi-12","authority_id":""}`
// 美好菜市
//var token1 = `{"access_token":"9a315a03-c737-4a82-ae52-c9a6ce827007","expires_in":1699490747,"scope":"SCOPE","shop_id":68032645,"shop_name":"美好菜市","refresh_token":"8334c006-5301-4d25-911b-4d8cc7b70ebb","authority_id":""}`

View File

@@ -174,7 +174,7 @@ func TestBatchDecrypt(t *testing.T) {
fmt.Println(err)
}
var c = []int64{190504428}
var c = []int64{173965249}
// 删除已经创建商品,重新同步
func TestDeleteSkuAndUploadSku(t *testing.T) {
@@ -183,7 +183,8 @@ func TestDeleteSkuAndUploadSku(t *testing.T) {
for _, v := range c {
for i := 1; i < 100; i++ {
result, err := a.GetSkuDetailList(&product_listV2_request.ProductListV2Param{
CheckStatus: 4, // 1-未提交2-待审核3-审核通过4-审核未通过5-封禁7-审核通过待上架
Status: 1,
CheckStatus: 1, // 1-未提交2-待审核3-审核通过4-审核未通过5-封禁7-审核通过待上架
Page: int64(i),
Size: 100,
StoreId: v,