diff --git a/platformapi/mtwmapi/mtwmapi_test.go b/platformapi/mtwmapi/mtwmapi_test.go index 2c8bd9da..f022b87b 100644 --- a/platformapi/mtwmapi/mtwmapi_test.go +++ b/platformapi/mtwmapi/mtwmapi_test.go @@ -27,7 +27,7 @@ func init() { //商超 //api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_nngsVP37s-HXY86xe85H7Q") //token_n4TwqCntWWuvQwAawzxC0w - api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_rn25Arxm_1JSvQM6CWpJzQ") //token_n4TwqCntWWuvQwAawzxC0w + api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_pSieTe4mnpJjkd0gJURL3A") //token_n4TwqCntWWuvQwAawzxC0w //api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_r36FEse6_ywebQI65FNNWA") //token_n4TwqCntWWuvQwAawzxC0w cookieStr := ` acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1; diff --git a/platformapi/mtwmapi/retail.go b/platformapi/mtwmapi/retail.go index 58fa4102..21446c67 100644 --- a/platformapi/mtwmapi/retail.go +++ b/platformapi/mtwmapi/retail.go @@ -244,8 +244,6 @@ func (a *API) RetailListAll(poiCode string, offset int) (foodList []*AppFood, er data := make([]*AppFood, 0, 0) offset = offset * GeneralMaxLimit batchList, err2 := a.RetailList(poiCode, offset, GeneralMaxLimit) // GeneralMaxLimit - globals.SugarLogger.Debugf("==========batchList %d", len(batchList)) - globals.SugarLogger.Debugf("==========batchList %s", utils.Format4Output(err2, false)) if err = err2; err == nil { data = append(data, batchList...) } diff --git a/platformapi/mtwmapi/retail_test.go b/platformapi/mtwmapi/retail_test.go index 810d3292..3decab5f 100644 --- a/platformapi/mtwmapi/retail_test.go +++ b/platformapi/mtwmapi/retail_test.go @@ -93,7 +93,7 @@ func TestRetailCatDelete(t *testing.T) { } func TestRetailList(t *testing.T) { - result, err := api.RetailList("18900165", 1, 100) + result, err := api.RetailList("785527", 1, 100) if err != nil { t.Fatal(err) } diff --git a/platformapi/tao_vegetable/store_sku_test.go b/platformapi/tao_vegetable/store_sku_test.go index 7cebb7e9..6cefcdad 100644 --- a/platformapi/tao_vegetable/store_sku_test.go +++ b/platformapi/tao_vegetable/store_sku_test.go @@ -170,220 +170,7 @@ func TestStoreSkuUpdateOffShelf(t *testing.T) { // var storeList = []int64{100930, 100871} -var skuList = []int64{ - 26125, - 22596, - 25103, - 25104, - 25105, - 24656, - 30670, - 23422, - 24097, - 30669, - 23424, - 25535, - 23620, - 23621, - 23622, - 31308, - 25022, - 25717, - 25023, - 25718, - 25685, - 27264, - 27265, - 30396, - 24300, - 23001, - 26049, - 23002, - 26050, - 23417, - 26287, - 23419, - 26289, - 30625, - 30691, - 30611, - 23291, - 30686, - 23294, - 31254, - 30672, - 30671, - 30702, - 35420, - 30687, - 30730, - 30727, - 31312, - 31238, - 24264, - 31022, - 24266, - 31229, - 30663, - 23879, - 30777, - 30889, - 30676, - 30814, - 30219, - 30675, - 30627, - 25518, - 31518, - 25519, - 35242, - 26057, - 26058, - 26447, - 26448, - 30365, - 30830, - 25412, - 30641, - 30657, - 30656, - 23818, - 31200, - 6045175, - 33638, - 31682, - 6045386, - 24935, - 35241, - 30875, - 26700, - 30888, - 26701, - 31248, - 6042133, - 34897, - 23907, - 30559, - 30363, - 6045167, - 6041753, - 30700, - 26842, - 26843, - 26040, - 35504, - 6041970, - 26065, - 6041969, - 6045177, - 6045185, - 30094, - 6045186, - 26067, - 6045232, - 31299, - 6045404, - 30667, - 30780, - 30881, - 30644, - 6041954, - 6041955, - 30639, - 30775, - 34417, - 30811, - 6045326, - 35487, - 23408, - 31020, - 23409, - 35486, - 35490, - 23411, - 25947, - 25949, - 30522, - 24120, - 25014, - 30890, - 26864, - 6040867, - 6042128, - 25665, - 30649, - 34959, - 25668, - 35503, - 30768, - 26059, - 6045098, - 31243, - 23163, - 33156, - 6039630, - 27056, - 34826, - 30635, - 30876, - 30619, - 30645, - 30904, - 31240, - 24226, - 31524, - 25936, - 32914, - 25735, - 32913, - 29645, - 33391, - 30184, - 23841, - 34354, - 30320, - 25736, - 6045549, - 24251, - 6045550, - 24253, - 31423, - 31291, - 35152, - 22840, - 27006, - 22842, - 30900, - 26641, - 30616, - 30743, - 26642, - 30807, - 26493, - 26643, - 25059, - 25158, - 26494, - 25061, - 26495, - 31275, - 25062, - 30704, - 26936, - 31815, - 33075, - 30779, - 25335, - 25336, - 22993, - 30352, - 25417, - 25696, - 23402, - 25418, - 25419, - 26908, -} +var skuList = []int64{} // 商品库存修改 func TestStoreSkuStock(t *testing.T) { diff --git a/platformapi/tiktok_shop/tiktok_api/sku_test.go b/platformapi/tiktok_shop/tiktok_api/sku_test.go index c1a55efc..2a5c7ac9 100644 --- a/platformapi/tiktok_shop/tiktok_api/sku_test.go +++ b/platformapi/tiktok_shop/tiktok_api/sku_test.go @@ -134,7 +134,7 @@ func TestBatchDecrypt(t *testing.T) { // a.OrderUserInfoSensitive("4988354190732430566") //} -var c = []int64{64270123} +var c = []int64{86794412} // 删除已经创建商品,重新同步 func TestDeleteSkuAndUploadSku(t *testing.T) {