订单详情
开发中
GET
/adminapi/order/detail
请求参数
Query 参数
id
integer
订单ID
示例值:
1
Header 参数
token
string
可选
示例值:
{{adminToken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/order/detail?id=1' \
--header 'token: {{adminToken}}' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
必需
user_id
integer
必需
order_sn
string
必需
order_status
integer
必需
pay_status
integer
必需
refund_status
integer
必需
paid_amount
string
必需
subject
string
必需
category
string
必需
label
string
必需
pay_time
integer
必需
create_time
string
必需
user
object
必需
desc
object
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"id": 1,
"user_id": 1,
"order_sn": "",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"paid_amount": "0.01",
"subject": "it论文",
"category": "",
"label": "",
"pay_time": 0,
"create_time": "2023-11-28 15:06:47",
"user": {
"id": 1,
"sn": 38066348,
"avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"nickname": "用户38066348",
"account": "fzr001",
"mobile": ""
},
"desc": {
"order_terminal": "",
"refund_status": "退款中",
"order_status": "待付款",
"pay_status": "未支付",
"pay_way": ""
}
}
}
修改于 2023-11-30 06:56:31