作者:管理员  历史版本:1  最后编辑:龚清  更新时间:2024-11-20 15:41

导出移动端资源

简述:

  • 导出移动端资源

请求URL:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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:

请求方式:

  • 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