文档
测试

预约回收

POST
http://{{address}}/api/recycle/order/create

请求参数

参数名
类型
描述
必填
token
string
示例:{{token}}
必填
main_cate_id
int
示例:1
必填
address_id
int
示例:1
必填
amount_min_expect
int
示例:10
必填
amount_max_expect
int
示例:30
必填
expect_type
string
示例:appoint
必填
expect_at
string
示例:2023-03-25 10:20:00
必填
pay_type
string
示例:wechat
必填
remark_user
string
示例:这里是备注
必填
images_user_ids
string
示例:2,3
必填
items[0][id]
int
示例:5
必填
items[0][title]
string
示例:20-30KG
必填
items[0][num_min]
int
示例:20
必填
items[0][num_max]
int
示例:30
必填
items[0][num]
int
示例:0
必填
items[1][id]
int
示例:6
必填
items[1][title]
string
示例:20-30KG
必填
items[1][num_min]
int
示例:20
必填
items[1][num_max]
int
示例:30
必填
items[1][num]
int
示例:0
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
code
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
order_sn
string
示例:RE20230319180008000001795105
必填
main_cate_id
string
示例:1
必填
user_id
int
示例:1
必填
recycler_id
int
示例:0
必填
user_address
object
数据字典
必填
province_code
string
示例:410000
必填
province_name
string
示例:河南省
必填
city_name
string
示例:郑州市
必填
city_code
string
示例:410100
必填
area_name
string
示例:金水区
必填
area_code
string
示例:410105
必填
address
string
示例:花园路向西100米
必填
consignee
string
示例:测试
必填
phone
string
示例:15100000001
必填
status_slug
string
示例:normal
必填
items
array
数据列表
必填
id
string
示例:5
必填
title
string
示例:20-30KG
必填
num_min
string
示例:20
必填
num_max
string
示例:30
必填
num
string
示例:0
必填
name
string
示例:黄纸
必填
info
string
示例:黄纸20-30KG
必填
amount_min_expect
string
示例:10
必填
amount_max_expect
string
示例:30
必填
weight_reality
int
示例:0
必填
amount_reality
int
示例:0
必填
expect_type
string
示例:appoint
必填
expect_at
string
示例:2023-03-25 10:20:00
必填
pay_type
string
示例:wechat
必填
remark_user
string
示例:这里是备注
必填
updated_at
string
示例:2023-03-19T10:00:08.000000Z
必填
created_at
string
示例:2023-03-19T10:00:08.000000Z
必填
id
int
示例:4
必填