项目列表
简要描述
项目列表
请求URL:
https://dwbapi.thinkerx.com/api/project/index
请求方式:
GET
参数:
| 参数名 | 必选 | 传入类型 | 类型 | 说明 |
|---|---|---|---|---|
| Authorization | 是 | Header | string | Bearer token |
返回示例
{
"code": 0,
"message": "\u64cd\u4f5c\u6210\u529f",
"data": [
{
"id": 1,
"name": "\u9ed8\u8ba4\u9879\u76ee",
"register_id": 20136,
"factory_id": 1,
"organization_id": 1,
"sheet_count": 1,
"latest_operation_time": "2026-02-04 14:42:37",
"sheets": [
{
"id": 36,
"name": "\u8ba2\u5355\u7ba1\u7406\u8868",
"desc": "\u7528\u4e8e\u7ba1\u7406\u8ba2\u5355\u4fe1\u606f\u7684\u8868\u683c",
"type": "order",
"record_count": null,
"latest_operation_time": "2026-02-04 14:42:37"
}
],
"project_role": null,
"created_at": "2025-09-18T05:43:37.000000Z",
"updated_at": "2025-09-18T05:43:37.000000Z"
}
],
"timestamp": 1771988642
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 0:操作成功,1操作失败 |
| data | array<object> | 返回数据 |
data详情说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| id | int | 项目id |
| name | string | 项目名称 |
| organization_id | int | 当前所属组织id |
| sheet_count | int | 当前项目下表数量 |
| latest_operation_time | date | 最近一次操作时间 |
| sheets | array | 项目下表格列表 |
| project_role | string | 当前项目角色 |
