diff --git a/platformapi/ebaiapi/callback.go b/platformapi/ebaiapi/callback.go index 211b50ae..2a29857f 100644 --- a/platformapi/ebaiapi/callback.go +++ b/platformapi/ebaiapi/callback.go @@ -13,6 +13,7 @@ const ( CmdOrderCreate = "order.create" CmdOrderDeliveryStatus = "order.deliveryStatus.push" CmdOrderPartRefund = "order.partrefund.push" // 售前只能是商户发起 售后是用户, 你看是由谁发起的就可以知道,来自惠焕(部分退款) + CmdOrderReversePush = "order.reverse.push" // 订单逆向消息推送 CmdOrderStatus = "order.status.push" CmdOrderUserCancel = "order.user.cancel" diff --git a/platformapi/tencent_map/tencent_api.go b/platformapi/tencent_map/tencent_api.go index 75a752a4..708fefc8 100644 --- a/platformapi/tencent_map/tencent_api.go +++ b/platformapi/tencent_map/tencent_api.go @@ -73,7 +73,7 @@ func (a *API) TencentCyclingPlanning(param *TencentCyclingPlanningReq) (distance point2, _ := v.Polyline[i].Float64() point3 := point1 + point2/float64(1000000) - point4 := fmt.Sprintf("%.13f", point3) + point4 := fmt.Sprintf("%.6f", point3) pointList = append(pointList, point4) }