~~~[api:needAuth]
get:/index/Orders/info
*int:id#报单ID
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": {
"id": 35,
"user_id": 2,
"product_id": 1,
"warehouse_id": 1,
"funds": 1,
"alipay_account": "13800138000",
"alipay_name": "张三",
"status": 2,
"outbound_status": 1,
"outbound_money": "100.00",
"update_time": "2021-02-02 14:28:35",
"create_time": "2021-02-01 17:55:32",
"category": null,
"warehouse": {
"id": 1,
"name": "佛山黄岐仓"
},
"product": {
"id": 1,
"name": "爱他美3段白金版*1(数量1)"
},
"express": [
{
"id": 22,
"orders_id": 35,
"orders_number": "PTDH1612173334",
"express_number": "SF1310645488301",
"company": "顺丰",
"status": 1
}
],
"file": [
{
"id": 89,
"orders_id": 35,
"name": "file.png",
"ext": "png",
"size": 871766,
"path": "/storage/orders/2/0c009df9b3a32c48442ecb1c5db065f4.png"
}
],
"money": [
{
"id": 73,
"orders_id": 35,
"money": "1.00",
"update_time": "2021-02-02 10:43:27",
"type": 0,
"status": 1,
"type_text": "用户佣金",
"status_text": "已到账"
},
{
"id": 74,
"orders_id": 35,
"money": "139.00",
"update_time": "2021-02-01 17:55:32",
"type": 1,
"status": 1,
"type_text": "用户本金",
"status_text": "已到账"
}
],
"status_text": "已完成",
"funds_text": "个人"
}
}
<<<
error
{
"code": 1,
"msg": "内容不存在"
}
~~~
### 字段信息
| 场景名 | 备注 |
| --- | --- |
| product.name | 方案名称 |
| create_time | 报单时间 |
| category.name | 所属分类名称 |
| funds_text | 垫付类型 |
| status_text | 报单状态 |
| express.orders_number | 订单编号 |
| express.express_number | 物流单号 |
| express.express_number | 物流公司 |
| alipay_account | 支付宝账号 |
| alipay_name | 支付宝真实姓名 |
| file.path | 附件 URL 路径 |
| price | 本金 |
| user_brokerage | 佣金 |