1
This commit is contained in:
@@ -294,6 +294,11 @@ func TestRetailInitData(t *testing.T) {
|
||||
for {
|
||||
// 同步商品
|
||||
fromFoodList, err1 := api.RetailListAll("21494359", i)
|
||||
for _, v := range fromFoodList {
|
||||
if v.AppFoodCode == "mtcode_1902626039134900287" {
|
||||
fmt.Println(v)
|
||||
}
|
||||
}
|
||||
if len(fromFoodList) == 0 || fromFoodList == nil {
|
||||
fmt.Println(fmt.Errorf("fromFoodList 为空 %s ,i:= %d", utils.Format4Output(err1, false), i))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user