文档
测试

订单列表

POST
http://127.0.0.1:2021/admin_api/order/sale

请求头

参数名
类型
描述
必填
xj-token
string
示例:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzZWxsZXJfaWQiOjEsInNlbGxlcl9uYW1lIjoi5Lic6I6e57-U5qOuIiwic3RhdHVzIjowLCJlbmRfZGF0ZSI6IjIwOTktMDEtMDEgMDA6MDA6MDAiLCJpYXQiOjE2MzAzMDY4MTl9.Y-JV7cHlCp1_NrxuiZudMOLD1xOMUdG9rYhL3fkqahE
必填

请求参数

参数名
类型
描述
必填
sw
string
示例:天虹
必填
order_start
string
示例:2021-01-03
必填
order_end
string
示例:2021-08-05
必填
platform_name
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:
必填
data
object
数据字典
必填
count
int
示例:1
必填
totalPages
int
示例:1
必填
pageSize
int
示例:30
必填
currentPage
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
order_no
string
示例:M20210001212
必填
status
int
示例:99
必填
order_date
string
示例:2021-08-01 09:00:00
必填
recept_date
string
示例:2021-08-31 14:35:44
必填
cannel_date
object
示例:null
必填
receptor
string
示例:张三
必填
recept_address
string
示例:天河天虹科技园
必填
recept_address1
string
示例:天河天虹科技园
必填
recept_address2
string
示例:
必填
city
string
示例:广州市
必填
provinces
string
示例:广东省
必填
postCode
string
示例:0000000
必填
country
string
示例:中国
必填
mobile
string
示例:18888888888
必填
remark
string
示例:
必填
seller_id
int
示例:1
必填
email
string
示例:mall
必填
platformaccount
int
示例:1
必填
exception_status
object
示例:null
必填
add_time
string
示例:2021-08-31 14:01:26
必填
platform_name
string
示例:自有商城
必填
order_item
array
数据列表
必填
p_asin
string
示例:kl00001
必填
p_name
string
示例:电子成品
必填
quantity
int
示例:1
必填
delivery_quantity
object
示例:null
必填
price
int
示例:99
必填
order_no
string
示例:M20210001212
必填

返回示例

```language { "count": 1, "totalPages": 1, "pageSize": 30, "currentPage": 1, "data": [ { "id": 1, "order_no": "M20210001212", "status": 0, "order_date": "2021-08-01 09:00:00", "recept_date": "2021-08-31 14:35:44", "cannel_date": null, "receptor": "张三", "recept_address": "天河天虹科技园", "recept_address1": "天河天虹科技园", "recept_address2": "", "city": "广州市", "provinces": "广东省", "postCode": "0000000", "country": "中国", "mobile": "18888888888", "remark": "", "seller_id": 1, "email": "mall", "platformaccount": "1", "exception_status": null, "add_time": "2021-08-31 14:01:26", "order_item": [ { "p_asin": "kl00001", "p_name": "电子成品", "quantity": 1, "delivery_quantity": null, "price": 99, "order_no": "M20210001212" }, { "p_asin": "kl00002", "p_name": "LL成品", "quantity": 1, "delivery_quantity": null, "price": 98, "order_no": "M20210001212" } ] } ] } ```