订单详情
开发中
GET
http://159.75.169.224:7300/pz/order/detail
请求参数
Query 参数
oid
string
商户订单id
示例值:
O-cCYKY00171
Header 参数
token
string
必需
示例值:
112d7636b81ce36b08619d917884138ca9
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://159.75.169.224:7300/pz/order/detail?oid=O-cCYKY00171' \
--header 'token: 112d7636b81ce36b08619d917884138ca9'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
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
必需
client_name
string
可选
示例
{
"code": 10000,
"msg": "查询成功",
"data": {
"out_trade_no": "O-cCYKY00171",
"demand": "",
"hospital_id": 5,
"hospital_name": "武汉中心医院",
"price": "0.5",
"receiveAddress": "北京",
"service_code": "pz3",
"service_id": 4,
"service_name": "就医陪诊(尊享)",
"service_stype": "15",
"starttime": 1703606400000,
"tel": "3",
"order_start_time": 1703646534976,
"transaction_id": "4200002083202312279759044358",
"trade_state": "待服务",
"time_end": 1703646552000,
"uid": "19",
"code_url": "weixin://wxpay/bizpayurl?pr=RrPBnytzz",
"other": "",
"service_state": "0",
"paidPrice": "0.5",
"area_name": "中部地区",
"service_logo_image_url": "http://159.75.169.224/uploads/20231105/90ded71dd1868829b08dae540412c039.jpeg",
"client_name": "张三"
}
}
修改于 2024-01-29 06:47:14