简要描述:
项目下表列表
请求URL:
https://dwbapi.thinkerx.com/api/sheet/index
请求方式:
GET
参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Authorization | 是 | string | Bearer token |
| project_id | 是 | int | 项目id |
返回示例
{
"code": 0,
"message": "\u64cd\u4f5c\u6210\u529f",
"data": [
{
"id": 36,//表id
"project_id": 1,//项目id
"name": "\u8ba2\u5355\u7ba1\u7406\u8868",//表名称
"desc": "\u7528\u4e8e\u7ba1\u7406\u8ba2\u5355\u4fe1\u606f\u7684\u8868\u683c",
"type": "order",//表类型
},
{
"id": 620,
"project_id": 1,
"name": "111",
"desc": "",
"type": "contract",
"register_id": 20136,
"factory_id": 1,
"created_at": "2026-02-25T07:07:28.000000Z",
"updated_at": "2026-02-25T07:07:28.000000Z",
"deleted_at": null
},
{
"id": 621,
"project_id": 1,
"name": "111",
"desc": "",
"type": "employee",
"register_id": 20136,
"factory_id": 1,
"created_at": "2026-02-25T08:15:21.000000Z",
"updated_at": "2026-02-25T08:15:21.000000Z",
"deleted_at": null
}
],
"timestamp": 1772011541
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 0成功 1失败 |
| message | str | 返回信息 |
| data | array | 返回数据 |
