作者:管理员 历史版本:1 最后编辑:龚清 更新时间:2024-11-20 15:41
导出移动端资源
简述:
- 导出移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/exportXml
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresId | String | 是 | 资源Id | ||
systemId | String | 是 | 子系统Id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/exportXml?appresId=1&systemId=app
返回示例:
// 导出的文件内容如下
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<appres sn="1" isOpen="N" displayInMenu="Y" isFolder="Y" iconFontColor="#ffffff" iconBgColor="#00aabb" icon="title" iconType="icon" alias="common" name="常用应用"/>
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
获取移动端资源
简述:
- 获取移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresId | String | 是 | 移动端资源Id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/get?appresId=1
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "常用应用",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "1",
"alias": "common",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "dir",
"parentId": "0",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "1",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | AppresPo | 移动应用菜单资源对象 |
获取移动端菜单的数据
简述:
- 获取移动端菜单的数据
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/getMenuData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
无
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "常用应用",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "1",
"alias": "common",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "dir",
"parentId": "0",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "1",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "待办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "2",
"alias": "pending",
"sn": 1,
"iconType": "icon",
"icon": "pending",
"iconBgColor": "#3598dc",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/pending/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.2",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "业务模块",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "524962457035210752",
"alias": "ywmk",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "0",
"defaultUrl": null,
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "ssss",
"ip": null,
"createBy": null,
"createTime": 1579425109000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668502890356146176",
"alias": "ssss",
"sn": 1,
"iconType": "icon",
"icon": "cog",
"iconBgColor": "",
"iconFontColor": "",
"resourceType": "menu",
"parentId": "524962457035210752",
"defaultUrl": "",
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752.668502890356146176",
"desc": "",
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "已办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "3",
"alias": "handled",
"sn": 2,
"iconType": "icon",
"icon": "handled",
"iconBgColor": "#32c5d2",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/handled/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.3",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "办结事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "4",
"alias": "completed",
"sn": 3,
"iconType": "icon",
"icon": "completed",
"iconBgColor": "#e7505a",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/completed/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.4",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的请求",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "5",
"alias": "myRequest",
"sn": 4,
"iconType": "icon",
"icon": "my-request",
"iconBgColor": "#578ebe",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRequest/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.5",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "新建流程",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "6",
"alias": "newProcess",
"sn": 5,
"iconType": "icon",
"icon": "new-process",
"iconBgColor": "#1bbc9b",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/newProcess/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.6",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的草稿",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "7",
"alias": "myDraft",
"sn": 6,
"iconType": "icon",
"icon": "draft",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myDraft/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.7",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "可撤销事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "8",
"alias": "myRevoke",
"sn": 7,
"iconType": "icon",
"icon": "revoke",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRevoke/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.8",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< AppresPo > | 移动应用菜单资源对象 |
根据角色获取选中的移动端资源
简述:
- 根据角色获取选中的移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/getRolResTreeChecked
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
roleId | String | 否 | roleId |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/getRolResTreeChecked?roleId=466555804980346880
返回示例:
{
"state": 200,
"request": null,
"message": "根据角色获取选中的移动端资源成功",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "常用应用",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "1",
"alias": "common",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "dir",
"parentId": "0",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "1",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "待办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "2",
"alias": "pending",
"sn": 1,
"iconType": "icon",
"icon": "pending",
"iconBgColor": "#3598dc",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/pending/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.2",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "业务模块",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "524962457035210752",
"alias": "ywmk",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "0",
"defaultUrl": null,
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "ssss",
"ip": null,
"createBy": null,
"createTime": 1579425109000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668502890356146176",
"alias": "ssss",
"sn": 1,
"iconType": "icon",
"icon": "cog",
"iconBgColor": "",
"iconFontColor": "",
"resourceType": "menu",
"parentId": "524962457035210752",
"defaultUrl": "",
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752.668502890356146176",
"desc": "",
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "已办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "3",
"alias": "handled",
"sn": 2,
"iconType": "icon",
"icon": "handled",
"iconBgColor": "#32c5d2",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/handled/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.3",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "办结事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "4",
"alias": "completed",
"sn": 3,
"iconType": "icon",
"icon": "completed",
"iconBgColor": "#e7505a",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/completed/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.4",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的请求",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "5",
"alias": "myRequest",
"sn": 4,
"iconType": "icon",
"icon": "my-request",
"iconBgColor": "#578ebe",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRequest/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.5",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "新建流程",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "6",
"alias": "newProcess",
"sn": 5,
"iconType": "icon",
"icon": "new-process",
"iconBgColor": "#1bbc9b",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/newProcess/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.6",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的草稿",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "7",
"alias": "myDraft",
"sn": 6,
"iconType": "icon",
"icon": "draft",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myDraft/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.7",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "可撤销事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "8",
"alias": "myRevoke",
"sn": 7,
"iconType": "icon",
"icon": "revoke",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRevoke/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.8",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "菜单资源",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "0",
"alias": "rootNode",
"sn": 0,
"iconType": null,
"icon": null,
"iconBgColor": null,
"iconFontColor": null,
"resourceType": null,
"parentId": "-1",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "Y",
"systemId": "app",
"path": null,
"desc": null,
"displayInMenu": "N",
"checked": "false"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< AppresPo > | 移动应用菜单资源对象 |
获取移动端资源菜单
简述:
- 获取移动端资源菜单
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/getTreeData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
systemId | String | 否 | app | 所属子系统Id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/getTreeData?systemId=app
返回示例:
{
"state": 200,
"request": null,
"message": "获取移动端资源菜单成功",
"cause": "",
"variables": {},
"data": [
{
"pk": "",
"name": "常用应用",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "1",
"alias": "common",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "dir",
"parentId": "0",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "1",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "待办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "2",
"alias": "pending",
"sn": 1,
"iconType": "icon",
"icon": "pending",
"iconBgColor": "#3598dc",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/pending/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.2",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "业务模块",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "524962457035210752",
"alias": "ywmk",
"sn": 1,
"iconType": "icon",
"icon": "title",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "0",
"defaultUrl": null,
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "ssss",
"ip": null,
"createBy": null,
"createTime": 1579425109000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "668502890356146176",
"alias": "ssss",
"sn": 1,
"iconType": "icon",
"icon": "cog",
"iconBgColor": "",
"iconFontColor": "",
"resourceType": "menu",
"parentId": "524962457035210752",
"defaultUrl": "",
"isFolder": "Y",
"isOpen": "N",
"systemId": "app",
"path": "524962457035210752.668502890356146176",
"desc": "",
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "已办事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "3",
"alias": "handled",
"sn": 2,
"iconType": "icon",
"icon": "handled",
"iconBgColor": "#32c5d2",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/handled/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.3",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "办结事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "4",
"alias": "completed",
"sn": 3,
"iconType": "icon",
"icon": "completed",
"iconBgColor": "#e7505a",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/completed/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.4",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的请求",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "5",
"alias": "myRequest",
"sn": 4,
"iconType": "icon",
"icon": "my-request",
"iconBgColor": "#578ebe",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRequest/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.5",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "新建流程",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "6",
"alias": "newProcess",
"sn": 5,
"iconType": "icon",
"icon": "new-process",
"iconBgColor": "#1bbc9b",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/newProcess/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.6",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "我的草稿",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "7",
"alias": "myDraft",
"sn": 6,
"iconType": "icon",
"icon": "draft",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myDraft/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.7",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "可撤销事宜",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "8",
"alias": "myRevoke",
"sn": 7,
"iconType": "icon",
"icon": "revoke",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/myRevoke/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.8",
"desc": null,
"displayInMenu": "Y",
"checked": "false"
},
{
"pk": "",
"name": "菜单资源",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "0",
"alias": "rootNode",
"sn": 0,
"iconType": null,
"icon": null,
"iconBgColor": null,
"iconFontColor": null,
"resourceType": null,
"parentId": "-1",
"defaultUrl": null,
"isFolder": "Y",
"isOpen": "Y",
"systemId": "app",
"path": null,
"desc": null,
"displayInMenu": "N",
"checked": "false"
}
]
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | List< AppresPo > | 移动应用菜单资源对象 |
导入移动端资源
简述:
- 导入移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/importXml
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresId | formData | 是 | 资源Id | ||
cover | formData | 否 | 是否覆盖 | ||
file | formData | 是 | 文件 |
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/importXml
appresId:1
cover:true
file:对应的文件
返回示例:
{
"state": 200,
"request": null,
"message": "导入移动端资源成功!",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
删除移动端资源
简述:
- 删除移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresId | String | 是 | 菜单资源Id | ||
cascade | Boolean | 否 | false | 是否级联删除下级节点 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/remove?appresId=674256786689097728&cascade=false
返回示例:
{
"state": 200,
"request": null,
"message": "删除移动端资源成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存移动端资源菜单
简述:
- 保存移动端资源菜单
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
AppresPo 对象信息
名称 | 类型 | 是否必须 | 默认值 | 备注 |
---|---|---|---|---|
id | String | 否 | 主键 | |
name | String | 是 | 名称 | |
alias | String | 是 | 别名 | |
sn | Integer | 否 | 序号 | |
iconType | String | 是 | 图标类型 | |
icon | String | 是 | 图标 | |
iconBgColor | String | 否 | 图标背景颜色 | |
iconFontColor | String | 否 | 图标字体颜色 | |
resourceType | String | 否 | 资源类型 | |
parentId | String | 是 | 父节点ID | |
defaultUrl | String | 否 | 默认路径 | |
isFolder | String | 是 | 是否文件夹 | |
isOpen | String | 是 | 是否打开 | |
systemId | String | 是 | 系统ID | |
path | String | 否 | 路径 | |
createTime | Date | 否 | 创建时间 | |
desc | String | 否 | 描述 | |
displayInMenu | String | 是 | 是否显示菜单 | |
tenantId | String | 否 | 租客ID | |
DEFAULT_SUBSYSTEM_ID | String | 否 | app | |
IS_CHECKED_N | String | 否 | false | |
IS_CHECKED_Y | String | 否 | true | |
checked | false | 是否选中 |
请求参数示例:
{
"name": "test",
"alias": "test",
"sn": 11,
"iconType": "icon",
"icon": "revoke",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/test/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.8",
"displayInMenu": "Y",
"checked": "false"
}
返回示例:
{
"name": "test",
"alias": "test",
"sn": 11,
"iconType": "icon",
"icon": "revoke",
"iconBgColor": "#00aabb",
"iconFontColor": "#ffffff",
"resourceType": "menu",
"parentId": "1",
"defaultUrl": "/bpmn/test/index",
"isFolder": "1",
"isOpen": "N",
"systemId": "app",
"path": "1.8",
"displayInMenu": "Y",
"checked": "false"
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存移动端资源移动
简述:
- 保存移动端资源移动
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/saveMove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresIds | String | 是 | 资源id | ||
destinationId | String | 是 | 目标资源id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/saveMove?appresIds=668502890356146176&destinationId=0
返回示例:
{
"state": 200,
"request": null,
"message": "保存移动端资源移动成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
保存移动端资源排序
简述:
- 保存移动端资源排序
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/sortSave
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
appresIds | String[] | 是 | app菜单资源id数组 |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/sortSave?appresIds=2,3,4,5,7,6,8
返回示例:
{
"state": 200,
"request": null,
"message": "保存移动端资源排序成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
更新移动端资源
简述:
- 更新移动端资源
请求URL:
- http://ip:port/ibps/platform/v3/auth/appres/updateNode
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/platform/v3/auth/appres/updateNode
返回示例:
{
"state": 200,
"request": null,
"message": "更新移动端资源",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |