1
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user