订单详情
GET
/adminapi/order.order/detail
请求参数
Query 参数
id
integer
订单id
Header 参数
token
string
必需
默认值:
{{'38a327e6732714e2a48e0b5d3038b2cc'}}
示例代码
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.order/detail?id' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
订单id
user_id
integer
用户id
sn
string
订单编号
teamhead_id
integer
团长ID
order_terminal
integer
必需
order_terminal_desc
string
订单来源
order_status
integer
必需
order_status_desc
string
订单状态
order_substate
integer
必需
pay_status
integer
必需
pay_status_desc
string
支付状态
pay_way
integer
必需
pay_way_desc
string
支付方式
pay_time
string
支付时间
verification_code
string
核销码
goods_price
string
订单商品总价
order_amount
string
应付款金额
total_amount
string
订单总价
total_num
integer
订单商品数量
contact
string
提货人
mobile
string
手机号码
delivery_type
integer
必需
delivery_type_desc
string
配送方式
refund_status
integer
必需
refund_status_desc
string
退款状态
user_remark
string
用户备注
order_remark
string
订单备注
cancel_time
null
订单取消时间
take_time
integer
提货时间
finish_time
null
完成时间
create_time
string
下单时间
user
object
用户信息
order_goods
array [object {8}]
订单商品
order_log
array [object {8}]
订单日志
teamhead
object
团长信息
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"id": 1,
"user_id": 1,
"sn": "202211291759007511",
"teamhead_id": 1,
"order_terminal": 1,
"order_status": 2,
"order_substate": 3,
"pay_status": 1,
"pay_way": 1,
"pay_time": "2022-11-29 18:06:24",
"verification_code": "123456",
"goods_price": "10.00",
"order_amount": "10.00",
"total_amount": "10.00",
"total_num": 1,
"contact": "李四",
"mobile": "17306643985",
"delivery_type": 1,
"express_status": 1,
"express_price": "0.00",
"express_time": 1669716807,
"delivery_id": 1,
"refund_status": 0,
"user_remark": "用户备注",
"order_remark": "订单备注",
"cancel_time": null,
"take_time": 1669889180,
"finish_time": null,
"create_time": "2022-11-29 18:16:18",
"user": {
"id": 1,
"sn": 123456,
"avatar": "",
"nickname": "李四",
"mobile": "17306643985"
},
"order_goods": [
{
"id": 1,
"order_id": 1,
"goods_name": "大白菜",
"goods_num": 1,
"goods_price": "10.00",
"total_price": "10.00",
"total_pay_price": "10.00",
"goods_image": "http://www.sqtg.localhost/resource/image/adminapi/default/avatar.png",
"goods_code": "dbc-123456"
}
],
"order_log": [
{
"id": 1,
"type": 3,
"channel": 101,
"order_id": 1,
"operator_id": 1,
"content": "用户提交订单",
"create_time": "2022-11-29 18:40:34",
"channel_desc": "会员提交订单",
"operator": "李四"
}
],
"teamhead": {
"id": 1,
"name": "零点便利店",
"image": "http://www.sqtg.localhost/resource/image/adminapi/default/article01.png",
"real_name": "李四",
"mobile": "17306643985",
"province_id": 110000,
"city_id": 110100,
"district_id": 110101,
"address": "天上人间"
},
"order_status_desc": "已完成",
"pay_status_desc": "已支付",
"pay_way_desc": "余额支付",
"order_terminal_desc": "微信小程序",
"delivery_type_desc": "到店自提"
}
}
修改于 2023-02-22 07:41:06