diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index dc72f963b..afa9c0662 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1594,7 +1594,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { storeMaps, _ := dao.GetStoresMapList(dao.GetDB(), []int{model.VendorIDJD}, nil, nil, model.StoreStatusAll, model.StoreIsSyncAll, "", "") for _, v := range storeMaps { time.Sleep(time.Second / 2) - station, _ := jd.GetAPI("320406").GetDeliveryRangeByStationNo2(v.VendorStoreID) + station, err := jd.GetAPI("320406").GetDeliveryRangeByStationNo2(v.VendorStoreID) + if err != nil { + continue + } if station.DeliveryRangeType == 2 { strs := strings.Split(station.DeliveryRange, ";") ss = append(ss, &tmp{