订单列表
开发中GET
/order/list请求参数
Query 参数
state
string
必需
1是未支付,2是待服务,3是已完成,4是已取消,不传是全部
示例值:
1
Header 参数
token
string
必需
示例值:
0c917b6bf59c197f32f550fec352ej86
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
array [object {25}]
必需
out_trade_no
string
必需
demand
string
必需
hospital_id
integer
必需
hospital_name
string
必需
price
string
必需
receiveAddress
string
必需
service_code
string
必需
service_id
integer
必需
service_name
string
必需
service_stype
string
必需
starttime
integer
必需
tel
string
必需
order_start_time
integer
必需
transaction_id
string
必需
trade_state
string
必需
time_end
integer
必需
uid
string
必需
code_url
string
必需
other
string
必需
service_state
string
必需
paidPrice
string
必需
area_name
string
必需
service_logo_image_url
string
必需
address
object
可选
_exp_time
integer
可选
示例
{
"code": 10000,
"msg": "查询成功",
"data": [
{
"out_trade_no": "O-TNQMN00156",
"demand": "",
"hospital_id": 5,
"hospital_name": "武汉中心医院",
"price": "0.5",
"receiveAddress": "北京",
"service_code": "pz3",
"service_id": 4,
"service_name": "就医陪诊(尊享)",
"service_stype": "15",
"starttime": 1703606400000,
"tel": "23",
"order_start_time": 1703646073614,
"transaction_id": "",
"trade_state": "已取消",
"time_end": 0,
"uid": "19",
"code_url": "weixin://wxpay/bizpayurl?pr=xnsLbB4zz",
"other": "",
"service_state": "0",
"paidPrice": "0",
"area_name": "中部地区",
"service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
"client_name": "张三"
},
{
"out_trade_no": "O-cDcHE00171",
"demand": "",
"hospital_id": 5,
"hospital_name": "武汉中心医院",
"price": "0.5",
"receiveAddress": "北京",
"service_code": "pz3",
"service_id": 4,
"service_name": "就医陪诊(尊享)",
"service_stype": "15",
"starttime": 1703606400000,
"tel": "23",
"order_start_time": 1703645340979,
"transaction_id": "",
"trade_state": "已取消",
"time_end": 0,
"uid": "19",
"code_url": "weixin://wxpay/bizpayurl?pr=rwcb7Mozz",
"other": "",
"service_state": "0",
"paidPrice": "0",
"area_name": "中部地区",
"service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
"client_name": "张三"
},
{
"out_trade_no": "O-WDDcJ00187",
"demand": "",
"hospital_id": 5,
"hospital_name": "武汉中心医院",
"price": "0.5",
"receiveAddress": "北京",
"service_code": "pz3",
"service_id": 4,
"service_name": "就医陪诊(尊享)",
"service_stype": "15",
"starttime": 1703692800000,
"tel": "23",
"order_start_time": 1703750271096,
"transaction_id": "",
"trade_state": "已取消",
"time_end": 0,
"uid": "19",
"code_url": "weixin://wxpay/bizpayurl?pr=GtdjpxIzz",
"other": "",
"service_state": "0",
"paidPrice": "0",
"area_name": "中部地区",
"service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
"client_name": "张三"
},
{
"out_trade_no": "O-TFmCG00121",
"address": {
"userName": "张三",
"cityName": "广州市",
"countyName": "海珠区",
"detailInfo": "新港中路397号"
},
"demand": "",
"hospital_id": 5,
"hospital_name": "武汉中心医院",
"price": "0.5",
"receiveAddress": "",
"service_code": "dp",
"service_id": 1,
"service_name": "代跑取药",
"service_stype": "40",
"starttime": 1703692800000,
"tel": "23",
"order_start_time": 1703750320908,
"transaction_id": "",
"trade_state": "已取消",
"time_end": 0,
"uid": "19",
"code_url": "weixin://wxpay/bizpayurl?pr=J2RG2Jrzz",
"other": "",
"service_state": "0",
"paidPrice": "0",
"area_name": "中部地区",
"service_logo_image_url": "http://159.75.169.224/uploads/20231105/108dd2cc5c333cffcb2911e1b159bddf.png"
}
]
}
最后修改时间: 1 年前