订单列表
开发中GET
/adminapi/order/lists请求参数
Query 参数
subject
string
题目
示例值:
跑步
category
string
写作类型
示例值:
毕业论文
user
string
用户信息
示例值:
小明
order_terminal
integer
可选
订单来源: [1=H5, 2=微信公众号, 3=微信小程序, 4=APP, 5=PC]
示例值:
1
order_status
integer
可选
订单状态: [0=待支付, 1=已完成, 2=已关闭]
示例值:
1
refund_status
string
可选
退款状态: [0=未退款, 1=已退款]
示例值:
1
start_time
string
支付开始时间
示例值:
2023-11-10 12:00:00
end_time
string
支付结束时间
示例值:
2023-11-11 12:00:00
order_type
integer
可选
类型 [1-写作订单 2-降重订单]
Header 参数
token
string
可选
示例值:
{{adminToken}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {13}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
object
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 7,
"order_sn": "202312011150223094",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "我是类目",
"label": "",
"pay_time": "-",
"create_time": "2023-12-01 11:50:22",
"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": "PC",
"refund_status": "退款中",
"order_status": "待付款",
"pay_status": "未支付",
"pay_way": ""
}
},
{
"id": 6,
"order_sn": "202312011150160407",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "我是类目",
"label": "",
"pay_time": "-",
"create_time": "2023-12-01 11:50:16",
"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": "PC",
"refund_status": "退款中",
"order_status": "待付款",
"pay_status": "未支付",
"pay_way": ""
}
},
{
"id": 5,
"order_sn": "202312011149406558",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "我是类目",
"label": "",
"pay_time": "-",
"create_time": "2023-12-01 11:49:40",
"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": "PC",
"refund_status": "退款中",
"order_status": "待付款",
"pay_status": "未支付",
"pay_way": ""
}
},
{
"id": 4,
"order_sn": "202312011134591456",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "我是类目",
"label": "",
"pay_time": "-",
"create_time": "2023-12-01 11:34:59",
"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": "PC",
"refund_status": "退款中",
"order_status": "待付款",
"pay_status": "未支付",
"pay_way": ""
}
},
{
"id": 3,
"order_sn": "202311291720500560",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "我是类目",
"label": "",
"pay_time": "-",
"create_time": "2023-11-29 17:20:50",
"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": ""
}
},
{
"id": 2,
"order_sn": "202311291712355772",
"order_status": 0,
"pay_status": 0,
"refund_status": 0,
"order_amount": "0.01",
"subject": "IT论文",
"category": "",
"label": "",
"pay_time": "-",
"create_time": "2023-11-29 17:12:35",
"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": ""
}
},
{
"id": 1,
"order_sn": "202311291712325772",
"order_status": 1,
"pay_status": 1,
"refund_status": 0,
"order_amount": "0.01",
"subject": "it论文",
"category": "论文创作",
"label": "博士",
"pay_time": "2023-11-28 15:06:47",
"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": "H5",
"refund_status": "退款中",
"order_status": "已完成",
"pay_status": "已支付",
"pay_way": "余额支付"
}
}
],
"count": 7,
"page_no": 1,
"page_size": 25,
"extend": {
"total_order_num": 1,
"total_order_amount": 0.01,
"total_refund_num": 0,
"total_refund_amount": 0,
"total_net_income": 0.01
}
}
}
最后修改时间: 4 个月前