1
This commit is contained in:
@@ -229,8 +229,9 @@ func TestBatchSetPrice(t *testing.T) {
|
||||
err := api.BatchSetRestockingPrice(utils.GetUUID(), "12422751", param)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
poiCode := "20978764"
|
||||
poiCode := "7954977"
|
||||
|
||||
i := 0
|
||||
count := 0
|
||||
@@ -243,11 +244,11 @@ func TestRetailDelete(t *testing.T) {
|
||||
}
|
||||
count += len(fromFoodList)
|
||||
|
||||
//for k, v := range fromFoodList {
|
||||
// if err := api.RetailDelete(utils.Int2Str(k), poiCode, v.AppFoodCode); err != nil {
|
||||
// fmt.Println(err)
|
||||
// }
|
||||
//}
|
||||
for k, v := range fromFoodList {
|
||||
if err := api.RetailDelete(utils.Int2Str(k), poiCode, v.AppFoodCode); err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
}
|
||||
//stockList := make([]*BareStoreFoodInfo, 0, 100)
|
||||
//for _, fl := range fromFoodList {
|
||||
// stockList = append(stockList, &BareStoreFoodInfo{
|
||||
|
||||
Reference in New Issue
Block a user