查询京东门店范围
This commit is contained in:
@@ -1595,9 +1595,10 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) {
|
|||||||
for _, v := range storeMaps {
|
for _, v := range storeMaps {
|
||||||
station, _ := jd.GetAPI("320406").GetDeliveryRangeByStationNo2(v.VendorStoreID)
|
station, _ := jd.GetAPI("320406").GetDeliveryRangeByStationNo2(v.VendorStoreID)
|
||||||
if station.DeliveryRangeType == 2 {
|
if station.DeliveryRangeType == 2 {
|
||||||
|
strs := strings.Split(station.DeliveryRange, ";")
|
||||||
ss = append(ss, &tmp{
|
ss = append(ss, &tmp{
|
||||||
jdID: v.VendorStoreID,
|
jdID: v.VendorStoreID,
|
||||||
s: jxutils.ComputeSignedArea(strings.Split(station.DeliveryRange, ";")),
|
s: jxutils.ComputeSignedArea(strs[:len(strs)-1]),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user