1
This commit is contained in:
@@ -13,6 +13,7 @@ const (
|
|||||||
CmdOrderCreate = "order.create"
|
CmdOrderCreate = "order.create"
|
||||||
CmdOrderDeliveryStatus = "order.deliveryStatus.push"
|
CmdOrderDeliveryStatus = "order.deliveryStatus.push"
|
||||||
CmdOrderPartRefund = "order.partrefund.push" // 售前只能是商户发起 售后是用户, 你看是由谁发起的就可以知道,来自惠焕(部分退款)
|
CmdOrderPartRefund = "order.partrefund.push" // 售前只能是商户发起 售后是用户, 你看是由谁发起的就可以知道,来自惠焕(部分退款)
|
||||||
|
CmdOrderReversePush = "order.reverse.push" // 订单逆向消息推送
|
||||||
CmdOrderStatus = "order.status.push"
|
CmdOrderStatus = "order.status.push"
|
||||||
CmdOrderUserCancel = "order.user.cancel"
|
CmdOrderUserCancel = "order.user.cancel"
|
||||||
|
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ func (a *API) TencentCyclingPlanning(param *TencentCyclingPlanningReq) (distance
|
|||||||
point2, _ := v.Polyline[i].Float64()
|
point2, _ := v.Polyline[i].Float64()
|
||||||
|
|
||||||
point3 := point1 + point2/float64(1000000)
|
point3 := point1 + point2/float64(1000000)
|
||||||
point4 := fmt.Sprintf("%.13f", point3)
|
point4 := fmt.Sprintf("%.6f", point3)
|
||||||
pointList = append(pointList, point4)
|
pointList = append(pointList, point4)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user