str
This commit is contained in:
@@ -146,7 +146,7 @@ func CreateFenceByStore(appOrgCode string, storeID int64) (fenceID string, err e
|
||||
tempStr := strings.Split(localStore.DeliveryRange, ";")
|
||||
for v := len(tempStr) - 1; v >= 0; v-- {
|
||||
s2 := strings.Split(tempStr[v], ",")
|
||||
globals.SugarLogger.Debugf("len==%d\n,2[0]==%s\n,s2[1]==%s", len(s2), s2[0], s2[1])
|
||||
globals.SugarLogger.Debugf("len==%d\n,2[0]==%s\n", len(s2), s2[0])
|
||||
tLng, err1 := strconv.ParseFloat(s2[0], 64)
|
||||
tLat, err2 := strconv.ParseFloat(s2[1], 64)
|
||||
if err1 != nil || err2 != nil {
|
||||
|
||||
Reference in New Issue
Block a user