多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 取消订单 >接口说明 取消订单 >接口请求说明 HTTP请求格式: application/json >接口参数说明 ~~~[api] get:/api/miniapp/orders/{id}/cancel?sessionId= *string:sessionId#sessionID string:id#订单ID <<< success { "id": "4028e7ad60d8b8570160d8c708d50003", "orderNum": "DE15154654107561850", "orderType": "delivery", "createDate": 1515465411000, "amount": 58, "payAmount": 0, "paymentMethod": 1, "paymentStatus": 1, "expireDate": null, "orderStatus": 5, "completeDate": null, "deliveryStatus": 0, "confirmStatus": 0, "assignDate": null, "confirmDate": null, "processDate": 1515465410000, "pickingDate": null, "fromLocationName": "浙江省杭州市江干区学府街515号", "fromAddress": "123", "toLocationName": "杭州市上城区西湖风景区", "toAddress": "我去了", "remarks": "123", "paymentMethodLabel": "微信支付", "paymentStatusLabel": "未支付", "orderStatusLabel": "已取消", "deliveryStatusLabel": "未接单", "riderCollection": true, "assignMode": 0, "assignRiderId": null, "assignRiderName": null, "rewardAmount": 0, "fromName": "哈哈", "fromCellphone": "13588960670", "fromLat": 30.3102, "fromLng": 120.3714, "toName": "陈丽懂", "toCellphone": "13588960670", "toLat": 30.239805393577, "toLng": 120.15731528212, "distance": 26.2, "collection": null, "payment": null, "customRealName": null, "customCellphone": "13588960670", "customPhone": null, "customDetailAddress": null, "riderRealName": null, "riderCellphone": null, "riderAvatarUrl": null, "logRes": null, "bespeakPickupTime": null } <<< error { "path": "/api/miniapp/orders/4028e7ad60d8b8570160d8c708d500031/cancel", "message": "订单不存在!", "status": 404, "timestamp": 1515572479594 } ~~~ >接口请求示例 ~~~ /api/miniapp/orders/4028e7ad60d8b8570160d8c708d50003/cancel?sessionId=8a9fb65b60da56c10160de100de700aa ~~~