🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
### <div> <span class="request">GET</span> <span class="url">/orders/{id}</span> </div> * * * * * ###### 需要登录:是 #### 接口功能 ~~~ 获取指定订单的详细信息 ~~~ #### 注意事项: > 无 #### 参数表: |参数名|必选|类型|说明| | -- | -- | -- | -- | |id|是|int|订单id,路由参数| #### 返回结果: +++ <<< 操作成功 { "code": 200, "message": "操作成功", "data": { "id": 1, "serial": "A001", "delivery_type": 1, "delivery_type_name": "快递", "user_id": 1, "user": "丽萨", "consignee": "丽萨", "phone": "13923458160", "address": "广东省深圳市盐田区恩上路81号", "order_amount": 350, "logistics_fee": 20, "check_amount": 350, "status": "已下单", "logistics_company": "顺丰速递", "logistics_company_code": "sf", "logistics_number": "54646465464", "message": "请尽快发货", "created_at": "2017-10-08 16:08:25", "updated_at": "2017-10-08 16:08:28", "products": [ { "id": 1, "image": "1.jpg", "thumbnail": "1.jpg", "title": "日暮", "price": 100 } ] } } +++