This commit is contained in:
邹宗楠
2026-03-25 14:55:41 +08:00
parent 47d67bb9d8
commit 66064f8de2
3 changed files with 62 additions and 2 deletions

View File

@@ -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