diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index 48d0f3b18..88765e272 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1595,9 +1595,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { for _, v := range storeMaps { station, _ := jd.GetAPI("320406").GetDeliveryRangeByStationNo2(v.VendorStoreID) if station.DeliveryRangeType == 2 { + strs := strings.Split(station.DeliveryRange, ";") ss = append(ss, &tmp{ jdID: v.VendorStoreID, - s: jxutils.ComputeSignedArea(strings.Split(station.DeliveryRange, ";")), + s: jxutils.ComputeSignedArea(strs[:len(strs)-1]), }) } }