This commit is contained in:
邹宗楠
2024-09-19 09:48:16 +08:00
parent b44233b421
commit 312aefbf2c
6 changed files with 90 additions and 57 deletions

View File

@@ -239,7 +239,7 @@ func TestBatchSetPrice(t *testing.T) {
}
func TestRetailDelete(t *testing.T) {
poiCode := "17088914"
poiCode := "24744708"
i := 0
count := 0
@@ -257,26 +257,12 @@ func TestRetailDelete(t *testing.T) {
fmt.Println(err)
}
}
//stockList := make([]*BareStoreFoodInfo, 0, 100)
//for _, fl := range fromFoodList {
// stockList = append(stockList, &BareStoreFoodInfo{
// AppFoodCode: fl.AppFoodCode,
// Skus: []*BareStoreSkuInfo{
// &BareStoreSkuInfo{
// SkuID: fl.AppFoodCode,
// Stock: "99999",
// },
// },
// })
//}
i++
if len(fromFoodList) < 100 {
break
}
//result, err := api.RetailSkuStock(utils.GetUUID(), poiCode, stockList)
//globals.SugarLogger.Debugf("===result :-%s", utils.Format4Output(result, false))
//globals.SugarLogger.Debugf("===result :-%v", err)
}
fmt.Println(count)
}