作者:管理员 历史版本:1 最后编辑:龚清 更新时间:2024-09-20 15:13
查询所有桌面布局信息
简述:
- 查询所有桌面布局信息
请求URL:
- http://ip:port/ibps/platform/v3/desktop/layout/findAll
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
暂无
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "一列(12)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389341",
"memo": "一列(12)",
"templateHtml": "<div class=\"col-md-12 column\"></div>",
"sn": 1
},
{
"pk": "",
"name": "二列(6,6)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389345",
"memo": "二列(6,6)",
"templateHtml": "<div class=\"col-md-6 column\"></div><div class=\"col-md-6 column\"></div>",
"sn": 2
},
{
"pk": "",
"name": "二列(9,3)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389346",
"memo": "二列(9,3)",
"templateHtml": "<div class=\"col-md-9 column\"></div><div class=\"col-md-3 column\"></div>",
"sn": 3
},
{
"pk": "",
"name": "二列(3,9)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389347",
"memo": "二列(3,9)",
"templateHtml": "<div class=\"col-md-3 column\"></div><div class=\"col-md-9 column\"></div>",
"sn": 4
},
{
"pk": "",
"name": "二列(8,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389348",
"memo": "二列(8,4)",
"templateHtml": "<div class=\"col-md-8 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 5
},
{
"pk": "",
"name": "二列(4,8)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389349",
"memo": "二列(4,8)",
"templateHtml": "<div class=\"col-md-4 column\"></div><div class=\"col-md-8 column\"></div>",
"sn": 6
},
{
"pk": "",
"name": "二列(10,2)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389350",
"memo": "二列(10,2)",
"templateHtml": "<div class=\"col-md-10 column\"></div><div class=\"col-md-2 column\"></div>",
"sn": 7
},
{
"pk": "",
"name": "二列(2,10)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389351",
"memo": "二列(2,10)",
"templateHtml": "<div class=\"col-md-2 column\"></div><div class=\"col-md-10 column\"></div>",
"sn": 8
},
{
"pk": "",
"name": "三列(4,4,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389352",
"memo": "三列(4,4,4)",
"templateHtml": "<div class=\"col-md-4 column\"></div><div class=\"col-md-4 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 9
},
{
"pk": "",
"name": "三列(2,6,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389342",
"memo": "三列(2,6,4)",
"templateHtml": "<div class=\"col-md-2 column\"></div><div class=\"col-md-6 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 10
},
{
"pk": "",
"name": "三列(4,6,2)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389343",
"memo": "三列(4,6,2)",
"templateHtml": "<div class=\"col-md-4 column\"></div><div class=\"col-md-6 column\"></div><div class=\"col-md-2 column\"></div>",
"sn": 11
},
{
"pk": "",
"name": "三列(5,5,2)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389344",
"memo": "三列(5,5,2)",
"templateHtml": "<div class=\"col-md-5 column\"></div><div class=\"col-md-5 column\"></div><div class=\"col-md-2 column\"></div>",
"sn": 12
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< DesktopLayoutPo > | 桌面布局对象集合 |
查询桌面布局信息
简述:
- 根据传入id查询,并返回桌面布局信息
请求URL:
- http://ip:port/ibps/platform/v3/desktop/layout/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
desktopLayoutId | String | 是 | 桌面布局id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/desktop/layout/get?desktopLayoutId=286814138233389341
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "一列(12)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389341",
"memo": "一列(12)",
"templateHtml": "<div class=\"col-md-12 column\"></div>",
"sn": 1
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | DesktopLayoutPo | 桌面布局对象 |
【桌面布局】列表(分页条件查询)数据
简述:
- 【桌面布局】列表(分页条件查询)数据
请求URL:
- http://ip:port/ibps/platform/v3/desktop/layout/query
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [
{
"pk": "",
"name": "一列(12)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389341",
"memo": "一列(12)",
"templateHtml": "<div class=\"col-md-12 column\"></div>",
"sn": 1
},
{
"pk": "",
"name": "二列(6,6)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389345",
"memo": "二列(6,6)",
"templateHtml": "<div class=\"col-md-6 column\"></div><div class=\"col-md-6 column\"></div>",
"sn": 2
},
{
"pk": "",
"name": "二列(9,3)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389346",
"memo": "二列(9,3)",
"templateHtml": "<div class=\"col-md-9 column\"></div><div class=\"col-md-3 column\"></div>",
"sn": 3
},
{
"pk": "",
"name": "二列(3,9)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389347",
"memo": "二列(3,9)",
"templateHtml": "<div class=\"col-md-3 column\"></div><div class=\"col-md-9 column\"></div>",
"sn": 4
},
{
"pk": "",
"name": "二列(8,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389348",
"memo": "二列(8,4)",
"templateHtml": "<div class=\"col-md-8 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 5
},
{
"pk": "",
"name": "二列(4,8)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389349",
"memo": "二列(4,8)",
"templateHtml": "<div class=\"col-md-4 column\"></div><div class=\"col-md-8 column\"></div>",
"sn": 6
},
{
"pk": "",
"name": "二列(10,2)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389350",
"memo": "二列(10,2)",
"templateHtml": "<div class=\"col-md-10 column\"></div><div class=\"col-md-2 column\"></div>",
"sn": 7
},
{
"pk": "",
"name": "二列(2,10)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389351",
"memo": "二列(2,10)",
"templateHtml": "<div class=\"col-md-2 column\"></div><div class=\"col-md-10 column\"></div>",
"sn": 8
},
{
"pk": "",
"name": "三列(4,4,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389352",
"memo": "三列(4,4,4)",
"templateHtml": "<div class=\"col-md-4 column\"></div><div class=\"col-md-4 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 9
},
{
"pk": "",
"name": "三列(2,6,4)",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": "-999",
"dataStatus": null,
"dbtype": null,
"id": "286814138233389342",
"memo": "三列(2,6,4)",
"templateHtml": "<div class=\"col-md-2 column\"></div><div class=\"col-md-6 column\"></div><div class=\"col-md-4 column\"></div>",
"sn": 10
}
],
"pageResult": {
"limit": 10,
"page": 1,
"totalCount": 12,
"totalPages": 2
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | APIPageList< DesktopLayoutPo > | 桌面布局对象集合 |
批量删除
简述:
- 批量删除桌面栏目
请求URL:
- http://ip:port/ibps/platform/v3/desktop/layout/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
desktopLayoutIds | String[] | 是 | 桌面栏目id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/desktop/layout/remove?desktopLayoutIds=286814138233383341
返回示例:
{
"state": 200,
"request": null,
"message": "删除桌面栏目成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存桌面布局
简述:
- 保存桌面布局
请求URL:
- http://ip:port/ibps/platform/v3/desktop/layout/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | string | 否 | 主键 | |
name | string | 是 | 布局名称 | |
memo | string | 否 | 布局描述 | |
templateHtml | string | 否 | 模版内容 | |
sn | Integer | 是 | 排序 |
请求参数示例:
{
"name": "test",
"sn": 1,
"memo": "test",
"templateHtml": "test"
}
返回示例:
{
"state": 200,
"request": null,
"message": "保存桌面布局成功",
"cause": "",
"variables": {
"id": "667694567872528384"
},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式