- 登录相关
- 首页
- 商品
- 购物车
- 优惠券
- 订单
- 售后
- 收货地址
- 收藏
- 点赞
- 评论
- 种草文章
- 上传
我的订单列表
开发中
POST
/frontend/order/list/
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
status
string
必需
示例值:
0
page
string
必需
示例值:
1
limit
string
必需
示例值:
10
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/frontend/order/list/?status=0&page=1&limit=10'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
count
integer
必需
list
array [object {16}]
必需
示例
{
"code": 1,
"message": "ok",
"data": {
"count": 8,
"list": [
{
"id": 1,
"number": "1659231316407832000111",
"user_id": 1,
"pay_type": 1,
"remark": "0",
"status": 1,
"price": 10000,
"coupon_price": 100,
"actual_price": 9900,
"consignee_name": "王先生",
"consignee_phone": "13269477432",
"consignee_address": "北京丰台汽车博物馆",
"order_goods_infos": [
{
"id": 1,
"order_id": 1,
"goods_id": 1,
"goods_info": {
"id": "1",
"name": "东鹏特饮1",
"price": 50000,
"brand": "东鹏2",
"tags": "饮料,功能饮料",
"pic_url": "https://assasda.png",
"detail_info": "东鹏 详情富文本"
},
"count": 1,
"pay_type": 0,
"remark": "",
"status": 1,
"price": 100,
"coupon_price": 10,
"actual_price": 90,
"created_at": "",
"updated_at": ""
}
],
"created_at": "2022-08-27 09:35:16",
"updated_at": "2022-07-31 09:35:16"
},
{
"id": 2,
"number": "1659231554317361000757",
"user_id": 1,
"pay_type": 1,
"remark": "0",
"status": 1,
"price": 10000,
"coupon_price": 200,
"actual_price": 9800,
"consignee_name": "王先生",
"consignee_phone": "13269477432",
"consignee_address": "北京丰台汽车博物馆",
"order_goods_infos": null,
"created_at": "2022-07-31 09:39:14",
"updated_at": "2022-07-31 09:39:14"
},
{
"id": 3,
"number": "1661603467832912000516",
"user_id": 1,
"pay_type": 0,
"remark": "",
"status": 0,
"price": 0,
"coupon_price": 0,
"actual_price": 0,
"consignee_name": "",
"consignee_phone": "",
"consignee_address": "",
"order_goods_infos": null,
"created_at": "2022-08-27 20:31:07",
"updated_at": "2022-08-27 20:31:07"
},
{
"id": 4,
"number": "1661603562656619000513",
"user_id": 1,
"pay_type": 1,
"remark": "放到快递柜就可以,不用打电话。",
"status": 0,
"price": 0,
"coupon_price": 0,
"actual_price": 0,
"consignee_name": "王先生",
"consignee_phone": "13269477432",
"consignee_address": "北京丰台汽车博物馆",
"order_goods_infos": null,
"created_at": "2022-08-27 20:32:42",
"updated_at": "2022-08-27 20:32:42"
},
{
"id": 5,
"number": "1661604424031843000546",
"user_id": 1,
"pay_type": 0,
"remark": "",
"status": 0,
"price": 0,
"coupon_price": 0,
"actual_price": 0,
"consignee_name": "",
"consignee_phone": "",
"consignee_address": "",
"order_goods_infos": null,
"created_at": "2022-08-27 20:47:04",
"updated_at": "2022-08-27 20:47:04"
},
{
"id": 6,
"number": "1661604530142913000770",
"user_id": 1,
"pay_type": 1,
"remark": "这是备注",
"status": 1,
"price": 100,
"coupon_price": 0,
"actual_price": 0,
"consignee_name": "",
"consignee_phone": "",
"consignee_address": "",
"order_goods_infos": null,
"created_at": "2022-08-27 20:48:50",
"updated_at": "2022-08-27 20:48:50"
},
{
"id": 7,
"number": "166160461284091500027",
"user_id": 1,
"pay_type": 1,
"remark": "这是备注",
"pay_at": "2022-09-09 11:51:21",
"status": 1,
"price": 100,
"coupon_price": 0,
"actual_price": 9800,
"consignee_name": "",
"consignee_phone": "",
"consignee_address": "",
"order_goods_infos": null,
"created_at": "2022-09-08 20:50:12",
"updated_at": "2022-08-27 20:50:12"
},
{
"id": 8,
"number": "166160465089079000090",
"user_id": 1,
"pay_type": 1,
"remark": "这是备注",
"pay_at": "2022-09-09 11:51:17",
"status": 1,
"price": 100,
"coupon_price": 0,
"actual_price": 9800,
"consignee_name": "",
"consignee_phone": "",
"consignee_address": "",
"order_goods_infos": [
{
"id": 2,
"order_id": 8,
"goods_id": 1,
"goods_info": {
"id": "1",
"name": "东鹏特饮1",
"price": 50000,
"brand": "东鹏2",
"tags": "饮料,功能饮料",
"pic_url": "https://assasda.png",
"detail_info": "东鹏 详情富文本"
},
"count": 1,
"pay_type": 0,
"remark": "",
"status": 0,
"price": 0,
"coupon_price": 0,
"actual_price": 0,
"created_at": "",
"updated_at": ""
},
{
"id": 3,
"order_id": 8,
"goods_id": 2,
"goods_info": {
"id": "2",
"name": "东鹏特饮2",
"price": 50000,
"brand": "东鹏2",
"tags": "饮料,功能饮料",
"pic_url": "https://assasda.png",
"detail_info": "东鹏 详情富文本"
},
"count": 3,
"pay_type": 0,
"remark": "",
"status": 0,
"price": 0,
"coupon_price": 0,
"actual_price": 0,
"created_at": "",
"updated_at": ""
}
],
"created_at": "2022-09-09 20:50:50",
"updated_at": "2022-08-27 20:50:50"
}
]
}
}
修改于 2022-12-29 09:10:42