简要描述:
项目列表查询接口
请求域名:
- http://xx.com
请求路由:
GET/&route=plugin.project-flow.frontend.project.detail
请求参数说明:
| 参数名 | 类型 | 是否必需 | 说明 |
|---|---|---|---|
| id | int | 是 | 项目id必须传 |
返回示例:
正确时返回:
json
{
"result": 1,
"msg": "获取成功",
"data": {
"id": 1,
"uniacid": 1,
"title": "阿大的",
"images": [
"images/1/2025/12/750700addfd5cd6c3779b69cfdc02d98.jpeg",
"images/1/2025/10/3b01f5bf9402e147ff8b9bf03a519424.jpg"
],
"description": "asdadad",
"document": "http://www.shop777.com/static/upload/files/1/2025/12/1e7c843856023f9dbb4737a16fbb9a41.docx",
"content": "<p>adasdadasda</p>",
"is_show": 1,
"created_at": "2025-12-31 10:46:46",
"updated_at": "2025-12-31 11:24:31",
"has_applied": true
},
}
返回参数说明:
data.data 项目对象参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 项目ID |
| uniacid | int | 应用ID |
| title | string | 项目标题 |
| images | array | 项目图片数组 |
| description | string | 项目描述 |
| document | string | 项目文档链接 |
| content | string | 项目详情(HTML格式) |
| is_show | int | 是否显示:1是 0否 |
| has_applied | bool | 是否显示申请按钮,true显示,false 不显示 |
| created_at | string | 创建时间 |
| updated_at | string | 更新时间 |