订单列表
开发中
GET
/staffapi/order/lists
请求参数
Query 参数
type
integer
必需
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/staffapi/order/lists?type' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {17}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"lists": [
{
"id": 0,
"sn": "string",
"order_status": 0,
"pay_status": 0,
"order_amount": "string",
"appoint_time_start": 0,
"staff_id": 0,
"order_sub_status": 0,
"address_info": {
"province_id": 0,
"city_id": 0,
"district_id": 0,
"address": "string",
"sex": 0,
"longitude": "string",
"latitude": "string",
"province": "string",
"city": "string",
"district": "string",
"sex_desc": "string"
},
"user_remark": "string",
"create_time": "string",
"distance": "string",
"order_goods": [
{
"id": 0,
"order_id": 0,
"goods_id": 0,
"goods_name": "string",
"goods_price": "string",
"goods_num": 0,
"goods_image": "string",
"goods_sku_arr": [
"string"
]
}
],
"appoint_time_day": "string",
"appoint_time_slot": "string",
"order_status_desc": "string",
"staff_order_btn": {
"grab_btn": 0,
"receive_btn": 0,
"setout_btn": 0,
"arrive_btn": 0,
"start_btn": 0,
"finish_btn": 0
}
}
],
"count": 0,
"page_no": 0,
"page_size": 0,
"extend": [
"string"
]
}
}
修改于 2024-11-07 06:22:11