文档
测试
POST
http://localhost:8080/app/stuff/home

请求参数

参数名
类型
描述
必填
user_id
string
当前登录用户id 锁匠登录后返回的user_id 示例:8d780fcbdfdb41babad9ee91e648e680
必填
sign
string
请求接口签名 示例:ed837f4492aa4c90f7f75fa218a0785d
必填
order_status
int
订单状态 -1 全部 4待服务 5待支付服务费 6已完成
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:加载成功
必填
result
object
数据字典
必填
complete_num
int
已完成订单数 示例:0
必填
wait_pay_num
int
待支付服务费订单数 示例:0
必填
wait_service_num
int
待服务订单数 示例:6
必填
order_list
array
订单列表 跟用户端的订单列表数据格式一样 stuff_phone 联系客户 拨打电话使用
必填
order_no
string
示例:202108211732051629538325943
必填
order_status
int
示例:4
必填
order_status_name
string
示例:待服务
必填
goods_list
array
数据列表
必填
goods_name
string
示例:胡飞扯鸡鸡
必填
goods_price
int
示例:88
必填
goods_num
int
示例:6
必填
goods_img
string
示例:https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg
必填
real_pay_price
int
示例:528
必填
total_goods_num
int
示例:6
必填
stuff_phone
string
示例:13627325123
必填
id
string
示例:853870d46b1342d7a580c8e6d992ec5b
必填
order_time
string
示例:2021-08-21 17:32:05
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "加载成功", "result": { "complete_num": 0, "wait_pay_num": 0, "wait_service_num": 6, "order_list": [ { "order_no": "202108211732051629538325943", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 6, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 528, "total_goods_num": 6, "stuff_phone": "13627325123", "id": "853870d46b1342d7a580c8e6d992ec5b", "order_time": "2021-08-21 17:32:05" }, { "order_no": "202108211731151629538275684", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 1, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 88, "total_goods_num": 1, "stuff_phone": "13627325123", "id": "7070b1558f564bb7a24a9c547c933e02", "order_time": "2021-08-21 17:31:15" }, { "order_no": "202108211729351629538175859", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 3, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 264, "total_goods_num": 3, "stuff_phone": "13627325123", "id": "789c4a7f3aac47949cbd8ab4bf988ded", "order_time": "2021-08-21 17:29:35" }, { "order_no": "202108211728481629538128052", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 1, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 88, "total_goods_num": 1, "stuff_phone": "13627325123", "id": "83472080e534423e854c405e2cf4145a", "order_time": "2021-08-21 17:28:48" }, { "order_no": "202108211708021629536882426", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 8, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 704, "total_goods_num": 8, "stuff_phone": "13627325123", "id": "85fe9e7502cb4afdbd4f8762af6cf334", "order_time": "2021-08-21 17:08:02" }, { "order_no": "202108211706411629536801160", "order_status": 4, "order_status_name": "待服务", "goods_list": [ { "goods_name": "胡飞扯鸡鸡", "goods_price": 88, "goods_num": 5, "goods_img": "https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1629273117351.jpg" } ], "real_pay_price": 440, "total_goods_num": 5, "stuff_phone": "13627325123", "id": "76e27a37dc02496b933ad7d958b57f67", "order_time": "2021-08-21 17:06:41" } ] } }