1
This commit is contained in:
@@ -246,7 +246,7 @@ func TestBatchSetPrice(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
poiCode := "5943132"
|
||||
poiCode := "7070710"
|
||||
|
||||
i := 0
|
||||
count := 0
|
||||
@@ -259,11 +259,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)
|
||||
}
|
||||
}
|
||||
|
||||
i++
|
||||
|
||||
|
||||
Reference in New Issue
Block a user