文档
测试

施工列表

GET
/api/build

请求参数

参数名
类型
描述
必填
page
int
当前页
必填

响应参数

参数名
类型
描述
必填
data
object
分页数据
必填
current_page
int
当前页
必填
last_page
int
最后一页
必填
data
array
施工数据
必填
id
int
施工id
必填
name
string
负责人姓名
必填
tel
string
负责人联系电话
必填
img_http
string
施工列表图
必填
progress
array
施工阶段(默认没有des数据,该阶段未进行)
必填
id
int
阶段id
必填
name
string
阶段名称
必填
des_filter
string
阶段描述
必填
images_arr
array
图片地址数组
必填

说明 / 示例

{ "data": { "current_page": 1, "data": [ { "id": 1, "user_id": 1, "name": "某某111", "tel": "18345682354", "img": "/images/1658470650833.jpg", "created_at": "2022-07-22 14:18:03", "updated_at": "2022-07-22 14:22:44", "ord": 0, "img_http": "http://127.0.0.77/images/1658470650833.jpg", "progress": [ { "id": 1, "name": "正在设计", "ord": 0, "build_id": 1, "des": "大范甘迪个", "images": "<img src=\"/editor/attached/image/20220722/20220722162114_75154.jpg\" alt=\"\" /><img src=\"/editor/attached/image/20220722/20220722162121_88308.jpg\" alt=\"\" />", "created_at": "2022-07-22 16:17:27", "updated_at": "2022-07-22 16:21:23", "images_arr": [ "http://127.0.0.77/editor/attached/image/20220722/20220722162114_75154.jpg", "http://127.0.0.77/editor/attached/image/20220722/20220722162121_88308.jpg" ], "des_filter": "大范甘迪个" }, { "id": 2, "name": "吊顶前期工作准备", "ord": 0, "build_id": 1, "des": null, "images": null, "created_at": "2022-07-22 16:17:48", "updated_at": "2022-07-22 16:17:48", "images_arr": [], "des_filter": "" }, { "id": 3, "name": "正在施工", "ord": 0, "build_id": 1, "des": null, "images": null, "created_at": "2022-07-22 16:17:58", "updated_at": "2022-07-22 16:17:58", "images_arr": [], "des_filter": "" }, { "id": 4, "name": "已完工交付", "ord": 0, "build_id": 1, "des": null, "images": null, "created_at": "2022-07-22 16:18:09", "updated_at": "2022-07-22 16:18:09", "images_arr": [], "des_filter": "" } ] } ], "first_page_url": "http://127.0.0.77/api/build?page=1", "from": 1, "last_page": 1, "last_page_url": "http://127.0.0.77/api/build?page=1", "next_page_url": null, "path": "http://127.0.0.77/api/build", "per_page": "3", "prev_page_url": null, "to": 1, "total": 1 } }