劳务列表 websocket测试 POST http://www.lwpq.net/index.php/api/index/labor_list 响应参数 参数名 类型 描述 必填 code int 示例:1 必填 msg string 示例:操作成功 必填 data array 数据列表 必填 id int 示例:4 必填 nickname string 示例:aaa1 必填 category_text string 示例:木工 必填 worker_num int 示例:2 必填 created_time_str string 示例:2020-05-11 必填 url string 示例:/index.php/api/index/labor_list.html 必填 wait int 示例:3 必填 说明 / 示例 { "code": 1, "msg": "操作成功", "data": [ { "id": 4, "nickname": "aaa1", "category_text": "木工", "worker_num": 2, "created_time_str": "2020-05-11" }, { "id": 3, "nickname": "aaa", "category_text": "木工", "worker_num": 2, "created_time_str": "2020-05-11" } ], "url": "/index.php/api/index/labor_list.html", "wait": 3 }
{ "code": 1, "msg": "操作成功", "data": [ { "id": 4, "nickname": "aaa1", "category_text": "木工", "worker_num": 2, "created_time_str": "2020-05-11" }, { "id": 3, "nickname": "aaa", "category_text": "木工", "worker_num": 2, "created_time_str": "2020-05-11" } ], "url": "/index.php/api/index/labor_list.html", "wait": 3 }