修改订单目的地后重新预估

方法名
Uri 请求方式
/order/estimate/after/modify POST
参数说明
参数 类型 是否必须 说明 备注
orderId String e代驾订单号
destinationAddress String 目的地名称
destinationLat Double 目的地纬度
destinationLng Double 目的地经度
token String 用户凭证token
gpsType String 导航类型(示例: baidu) 默认百度
viapoints String 途经点 支持最多2个途经点,格式:[{"lat":39.9080, "lng":116.4120, "poi":"地址1"},{"lat":39.9080, "lng":116.4120, "poi":"地址2"}]
返回值说明
说明 备注
code 返回状态码 0成功、非0失败
message 返回状态说明
data.order_id 订单ID
data.duration 预估时长(分钟)
data.distance 预估里程(公里)
data.modify_desc 修改后描述html
data.modify_tips 修改后提示html
data.fee_detail_url 费用详情页地址
data.total_money 总金额
data.discount_money 优惠金额
成功返回值示例
{
     "code": "0",
     "data": {
        "order_id": "382925741",
        "modify_desc": "<font color='#19191A' style='width: 154px;heiight: 25px;font-family: PingFangSC-Regular;font-size: 14px;color: #19191A;letter- spacing:0;line-height:25px;font-weight:400;>修改后预估金额为<\/font><font color='#44A7EF' style='width:49px;font-famiily: PingFangSC Semibold;font-size: 18px;color: #44A7EF;font-weight: 600;'>63.25<\/font><font color='#19191A' style='width: 154px;height: 25px;font family: PingFangSC-Regular;font-size: 14px;color: #19191A;letter-spacing: 0;line-height: 25px;font-weight: 400;<<元<\/font>"
        "modify_tips": "<font style='width: 320px;height: 51px;font-faamily: PingFangSC-Regular;font-size: 12px;color: #8C929C;letter spacing:-0.07px;font-weight:400;'color='#8C929C'>·修改后本次行程将按实际里程计费<br\/>·请提醒司机按新目的地更新导航<\/font>",
        "fee_detail_url": "https:///h5.edaijia.cn\/user-app-client\/detail-of-charges\/index.html?h5_fee_type=1&estimate_id=esaeb11e076669e4c8c1435a363e87e9&city=&city_id=2&source=5&channel=01003&cityld=2&latitude=30.59236&longit ude=104.032693&strategy_id=2423",
        "total_money":"63.25",
        "discount_money":"63.25"
     },
     "message": "success"
}
© 2011-2019 北京亿心宜行汽车技术开发服务有限公司 版权所有2019 all right reserved,powered by Gitbook该文件修订时间: 2026-09-18 14:56:08

results matching ""

    No results matching ""