文档
测试

订单详细

POST
http://localhost/merchant/order/detail

接口描述

查看订单详情

请求参数

参数名
类型
描述
必填
code
string
示例:识别码
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
order_no
string
订单号 示例:202012031655219101
必填
user_type
string
小程序类型 示例:微信小程序
必填
nick
string
别名 示例:Come on
必填
order_type
int
订单类型 示例:2
必填
device_id
string
设备id 示例:wd1912111401
必填
seller
string
商户 示例:测试商户
必填
start_time
string
开始时间 示例:2020年12月03日 16:55:21
必填
use_time
string
使用时间 示例:12分38秒
必填
amount
int
金额 示例:2
必填
free_time
int
免费时间 示例:0
必填
billing
string
收费标准 示例:2元/5小时
必填
status
int
租借状态 示例:1
必填
status_text
string
租借状态 示例:租借中
必填
ratio
int
分成比例 示例:10
必填
credit
object
示例:null
必填
msg
string
示例:订单详情
必填
brokerage
object
数据字典
必填
id
int
业务员id 示例:59
必填
name
string
业务员名称 示例:测试分成
必填
type
string
角色类型示例:业务员
必填
ratio
int
分成比例 示例:40
必填

说明 / 示例

{ "code": 1, "data": { "order_no": "202012111509577878", "user_type": "微信小程序", "nick": "Come on", "order_type": 2, "device_id": "wd1912111404", "seller": "测试商户", "start_time": "2020年12月11日 15:09:57", "use_time": "0分17秒", "amount": 3, "free_time": 0, "billing": "3元\/12小时", "ceiling": null, "deposit": null, "return_seller": "", "return_time": "", "status": 1, "status_text": "租借中", "ratio": 30, "brokerage": [{ "id": 59, "name": "测试分成", "type": "业务员", "ratio": 40 }, { "id": 60, "name": "测试分成管理", "type": "店铺管理员", "ratio": 20 }], "credit": null }, "msg": "订单详情" }