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

查询所有用户组信息

简述:

  • 查询所有用户组信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
request APIRequest[1] 动态查询请求对象

请求参数示例:

{
  "parameters": [
    {
      "key": "groupIds",
      "value": "964929974375022592"
    }
  ]
}

返回示例:

{
  "state": 200,
  "request": null,
  "message": "获取用户组信息成功!",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": "用户组",
      "ip": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "deleted": null,
      "dbType": null,
      "dsAlias": null,
      "id": "0",
      "groupAlias": null,
      "groupNote": null,
      "parentId": null,
      "sn": null,
      "icon": "ibps-icon-home",
      "type": "root",
      "nocheck": false,
      "chkDisabled": false,
      "click": true,
      "title": "",
      "open": "true"
    },
    {
      "pk": "",
      "name": "female用户组",
      "ip": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "deleted": null,
      "dbType": null,
      "dsAlias": null,
      "id": "964929974375022592",
      "groupAlias": null,
      "groupNote": null,
      "parentId": "0",
      "sn": null,
      "icon": null,
      "type": "sys",
      "nocheck": false,
      "chkDisabled": false,
      "click": true,
      "title": "",
      "open": "true"
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< PartyGroupTreePo > 角色对象

查询所在用户组信息

简述:

  • 查询所在用户组信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/selector/group/findTreeDataByCurrentGroup

返回示例:

{
  "state": 200,
  "request": null,
  "message": "获取用户组信息成功!",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": "用户组",
      "ip": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "deleted": null,
      "dbType": null,
      "dsAlias": null,
      "id": "0",
      "groupAlias": null,
      "groupNote": null,
      "parentId": null,
      "sn": null,
      "icon": "ibps-icon-home",
      "type": "root",
      "nocheck": false,
      "chkDisabled": false,
      "click": true,
      "title": "",
      "open": "true"
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< PartyGroupTreePo > 角色对象

查询指定用户组信息

简述:

  • 查询指定用户组信息;groupId用户组id,多个值英文逗号隔开

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
request APIRequest[1] 动态查询请求对象

请求参数示例:

{
  "parameters": [
    {
      "key": "groupIds",
      "value": "964929974375022592"
    }
  ]
}

返回示例:

{
  "state": 200,
  "request": null,
  "message": "获取用户组信息成功!",
  "cause": "",
  "variables": {},
  "data": [
    {
      "pk": "",
      "name": "用户组",
      "ip": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "deleted": null,
      "dbType": null,
      "dsAlias": null,
      "id": "0",
      "groupAlias": null,
      "groupNote": null,
      "parentId": null,
      "sn": null,
      "icon": "ibps-icon-home",
      "type": "root",
      "nocheck": false,
      "chkDisabled": false,
      "click": true,
      "title": "",
      "open": "true"
    },
    {
      "pk": "",
      "name": "female用户组",
      "ip": null,
      "createBy": null,
      "createTime": null,
      "updateBy": null,
      "updateTime": null,
      "tenantId": null,
      "dataStatus": null,
      "deleted": null,
      "dbType": null,
      "dsAlias": null,
      "id": "964929974375022592",
      "groupAlias": null,
      "groupNote": null,
      "parentId": "0",
      "sn": null,
      "icon": null,
      "type": "sys",
      "nocheck": false,
      "chkDisabled": false,
      "click": true,
      "title": "",
      "open": "true"
    }
  ]
}

返回参数说明:

名称 类型 备注
data List< PartyGroupTreePo > 角色对象

备注