文档
测试

已完成订单详情

POST
http://localhost/app/order/orderInfo

接口描述

已完成订单详情

请求头

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

请求参数

参数名
类型
描述
必填
order_no
int
订单号
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
data
object
数据字典
必填
id
int
id 示例:64
必填
order_no
string
订单编号 示例:202011131432499764
必填
type
int
订单类型 示例:2
必填
start_time
string
订单开始时间 示例:2020年11月13日 14:32:49
必填
end_time
string
订单结束时间 示例:2020年11月13日 14:35:58
必填
amount
int
金额 示例:10
必填
app_type
string
小程序类型 示例:微信小程序
必填
device_code
string
设备编号 示例:wd1912111401
必填
billing_unit
int
计费单位 示例:1
必填
is_pay
boolean
是否支付完成, 示例:true
必填
billing
string
收费标准 示例:10元/1小时
必填
use_time
string
使用时间 示例:3分9秒
必填
address
string
地址 示例:保安
必填
pay_status
int
支付状态 0未支付、1支付、2违约
必填
msg
string
示例:已完成订单信息
必填

说明 / 示例

{ "code": 1, "data": { "id": 21, "order_no": "202012101542268057", "type": 2, "start_time": "2020年12月10日 15:42:26", "end_time": "2020年12月10日 15:42:43", "amount": 3, "app_type": "微信小程序", "device_code": "wd1912111404", "billing_unit": 12, "is_pay": true, "billing": "3元\/12小时", "device_id": "wd1912111404", "use_time": "0分17秒", "address": "123", "pay_status": 1 }, "msg": "已完成订单信息" }