获取模块列表
POST
/api/v1/system/module/info/index
iThings-apisvr/系统管理new/模块管理/模块
请求参数
Header 参数
iThings-token
string
可选
示例值:
{{iThings-token}}
iThings-project-id
string
可选
示例值:
1764806234122309632{{iThings-token}}
iThings-app-code
string
可选
示例值:
{{iThings-app-code}}
iThings-user-role
string
可选
示例值:
1
Accept-Language
string
可选
默认值:
en
iThings-tenant-code
string
可选
Body 参数application/json
code
string
可选
codes
array[string]
code的列表
appCode
string
过滤应用下绑定的模块列表
name
string | null
可选
page
object
可选
page
integer
页码
size
integer
每页大小
示例
{
"code": "string",
"codes": [
"string"
],
"appCode": "string",
"name": "string",
"page": {
"page": 0,
"size": 0
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/system/module/info/index' \
--header 'iThings-token: {{iThings-token}}' \
--header 'iThings-token;' \
--header 'iThings-project-id: 1764806234122309632{{iThings-token}}' \
--header 'iThings-project-id;' \
--header 'iThings-app-code: {{iThings-app-code}}' \
--header 'iThings-app-code;' \
--header 'iThings-user-role: 1' \
--header 'iThings-user-role;' \
--header 'Accept-Language: en' \
--header 'iThings-tenant-code;' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "string",
"codes": [
"string"
],
"appCode": "string",
"name": "string",
"page": {
"page": 0,
"size": 0
}
}'
返回响应
🟢200成功
application/json
Body
code
integer | null
返回code
msg
string
返回消息
默认值:
success
data
object
必需
total
number
总数
list
array [object]
必需
示例
{
"code": 200,
"msg": "success",
"data": {
"list": [
{
"id": 2,
"appCode": "core",
"name": "设备管理",
"parentID": 1,
"type": 1,
"path": "/deviceManagers",
"component": "./deviceManagers/index.tsx",
"icon": "icon_data_01",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 8,
"appCode": "core",
"name": "设备",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/device/index",
"component": "./deviceManagers/device/index",
"icon": "icon_system",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 9,
"appCode": "core",
"name": "设备详情",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/device/detail/:id/:name/:type",
"component": "./deviceManagers/device/detail/index",
"icon": "icon_system",
"redirect": "",
"order": 2,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 23,
"appCode": "core",
"name": "分组",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/group/index",
"component": "./deviceManagers/group/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 3,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 24,
"appCode": "core",
"name": "分组详情",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/group/detail/:id",
"component": "./deviceManagers/group/detail/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 3,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 6,
"appCode": "core",
"name": "产品",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/product/index",
"component": "./deviceManagers/product/index",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 7,
"appCode": "core",
"name": "产品详情",
"parentID": 2,
"type": 1,
"path": "/deviceManagers/product/detail/:id",
"component": "./deviceManagers/product/detail/index",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 3,
"appCode": "core",
"name": "系统管理",
"parentID": 1,
"type": 1,
"path": "/systemManagers",
"component": "./systemManagers/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 9,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 38,
"appCode": "core",
"name": "日志管理",
"parentID": 3,
"type": 1,
"path": "/systemManagers/log",
"component": "./systemManagers/log/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 5,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 41,
"appCode": "core",
"name": "登录日志",
"parentID": 38,
"type": 1,
"path": "/systemManagers/log/loginLog/index",
"component": "./systemManagers/log/loginLog/index",
"icon": "icon_heat",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 39,
"appCode": "core",
"name": "操作日志",
"parentID": 38,
"type": 1,
"path": "/systemManagers/log/operationLog/index",
"component": "./systemManagers/log/operationLog/index.tsx",
"icon": "icon_dosing",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 10,
"appCode": "core",
"name": "用户管理",
"parentID": 3,
"type": 1,
"path": "/systemManagers/user/index",
"component": "./systemManagers/user/index",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 70,
"appCode": "core",
"name": "任务管理",
"parentID": 3,
"type": 1,
"path": "/systemManagers/timed",
"component": "./systemManagers/timed/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 71,
"appCode": "core",
"name": "任务组",
"parentID": 70,
"type": 1,
"path": "/systemManagers/timed/group",
"component": "./systemManagers/timed/group/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 73,
"appCode": "core",
"name": "任务",
"parentID": 70,
"type": 1,
"path": "/systemManagers/timed/task",
"component": "./systemManagers/timed/task/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 74,
"appCode": "core",
"name": "任务详情",
"parentID": 70,
"type": 1,
"path": "/systemManagers/timed/task/detail/:id",
"component": "./systemManagers/timed/task/detail/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 72,
"appCode": "core",
"name": "任务组详情",
"parentID": 70,
"type": 1,
"path": "/systemManagers/timed/group/detail/:id",
"component": "./systemManagers/timed/group/detail/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 11,
"appCode": "core",
"name": "角色管理",
"parentID": 3,
"type": 1,
"path": "/systemManagers/role/index",
"component": "./systemManagers/role/index",
"icon": "icon_system",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 12,
"appCode": "core",
"name": "菜单列表",
"parentID": 3,
"type": 1,
"path": "/systemManagers/menu/index",
"component": "./systemManagers/menu/index",
"icon": "icon_system",
"redirect": "",
"order": 3,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 61,
"appCode": "core",
"name": "外链",
"parentID": 3,
"type": 3,
"path": "/systemManagers/links",
"component": "https://ant.design",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 42,
"appCode": "core",
"name": "接口管理",
"parentID": 3,
"type": 1,
"path": "/systemManagers/api/index",
"component": "./systemManagers/api/index",
"icon": "icon_system",
"redirect": "",
"order": 4,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 60,
"appCode": "core",
"name": "内嵌",
"parentID": 3,
"type": 2,
"path": "/systemManagers/iframe",
"component": "https://www.douyu.com",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 4,
"appCode": "core",
"name": "运维监控",
"parentID": 1,
"type": 1,
"path": "/operationsMonitorings",
"component": "./operationsMonitorings/index.tsx",
"icon": "icon_hvac",
"redirect": "",
"order": 4,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 18,
"appCode": "core",
"name": "在线调试",
"parentID": 4,
"type": 1,
"path": "/operationsMonitorings/onlineDebug/index",
"component": "./operationsMonitorings/onlineDebug/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 6,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 13,
"appCode": "core",
"name": "固件升级",
"parentID": 4,
"type": 1,
"path": "/operationsMonitorings/firmwareUpgrade/index",
"component": "./operationsMonitorings/firmwareUpgrade/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 16,
"appCode": "core",
"name": "远程配置",
"parentID": 4,
"type": 1,
"path": "/operationsMonitorings/remoteConfiguration/index",
"component": "./operationsMonitorings/remoteConfiguration/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 4,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 15,
"appCode": "core",
"name": "资源管理",
"parentID": 4,
"type": 1,
"path": "/operationsMonitorings/resourceManagement/index",
"component": "./operationsMonitorings/resourceManagement/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 3,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 25,
"appCode": "core",
"name": "日志服务",
"parentID": 4,
"type": 1,
"path": "/operationsMonitorings/logService/index",
"component": "./operationsMonitorings/logService/index.tsx",
"icon": "icon_system",
"redirect": "",
"order": 7,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 35,
"appCode": "core",
"name": "首页",
"parentID": 1,
"type": 1,
"path": "/home",
"component": "./home/index.tsx",
"icon": "icon_dosing",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 43,
"appCode": "core",
"name": "告警管理",
"parentID": 1,
"type": 1,
"path": "/alarmManagers",
"component": "./alarmManagers/index",
"icon": "icon_ap",
"redirect": "",
"order": 5,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 54,
"appCode": "core",
"name": "告警日志",
"parentID": 43,
"type": 1,
"path": "/alarmManagers/alarmConfiguration/log/detail/:id/:level",
"component": "./alarmManagers/alarmLog/index",
"icon": "icon_ap",
"redirect": "",
"order": 5,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 53,
"appCode": "core",
"name": "新增告警配置",
"parentID": 43,
"type": 1,
"path": "/alarmManagers/alarmConfiguration/save",
"component": "./alarmManagers/alarmConfiguration/addAlarmConfig/index",
"icon": "icon_ap",
"redirect": "",
"order": 5,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 44,
"appCode": "core",
"name": "告警配置",
"parentID": 43,
"type": 1,
"path": "/alarmManagers/alarmConfiguration/index",
"component": "./alarmManagers/alarmConfiguration/index",
"icon": "icon_ap",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 45,
"appCode": "core",
"name": "告警记录",
"parentID": 43,
"type": 1,
"path": "/alarmManagers/alarmConfiguration/log",
"component": "./alarmManagers/alarmRecord/index",
"icon": "icon_ap",
"redirect": "",
"order": 5,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 50,
"appCode": "core",
"name": "规则引擎",
"parentID": 1,
"type": 1,
"path": "/ruleEngine",
"component": "./ruleEngine/index.tsx",
"icon": "icon_dosing",
"redirect": "",
"order": 5,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 51,
"appCode": "core",
"name": "场景联动",
"parentID": 50,
"type": 1,
"path": "/ruleEngine/scene/index",
"component": "./ruleEngine/scene/index.tsx",
"icon": "icon_device",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
}
]
},
{
"id": 63,
"appCode": "core",
"name": "视频服务",
"parentID": 1,
"type": 1,
"path": "/videoManagers",
"component": "./videoManagers",
"icon": "icon_heat",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": [
{
"id": 69,
"appCode": "core",
"name": "流服务详细",
"parentID": 63,
"type": 1,
"path": "/videoManagers/vidsrvmgr/detail/:id",
"component": "./videoManagers/vidsrvmgr/detail/index",
"icon": "icon_heat",
"redirect": "",
"order": 1,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 65,
"appCode": "core",
"name": "视频流广场",
"parentID": 63,
"type": 1,
"path": "/videoManagers/plaza/index",
"component": "./videoManagers/plaza/index.tsx",
"icon": "icon_heat",
"redirect": "",
"order": 3,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 67,
"appCode": "core",
"name": "视频回放",
"parentID": 63,
"type": 1,
"path": "/videoManagers/playback/index",
"component": "./videoManagers/playback/index.tsx",
"icon": "icon_heat",
"redirect": "",
"order": 4,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 64,
"appCode": "core",
"name": "流服务管理",
"parentID": 63,
"type": 1,
"path": "/videoManagers/vidsrvmgr/index",
"component": "./videoManagers/vidsrvmgr/index.tsx",
"icon": "icon_heat",
"redirect": "",
"order": 1,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 68,
"appCode": "core",
"name": "录像计划",
"parentID": 63,
"type": 1,
"path": "/videoManagers/recordplan/index",
"component": "./videoManagers/recordplan/index.tsx",
"icon": "icon_heat",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 66,
"appCode": "core",
"name": "视频流管理",
"parentID": 63,
"type": 1,
"path": "/videoManagers/vidstream/index",
"component": "./videoManagers/vidstream/index.tsx",
"icon": "icon_heat",
"redirect": "",
"order": 2,
"hideInMenu": 2,
"body": null,
"createTime": 1702877394,
"children": null
},
{
"id": 75,
"appCode": "core",
"name": "视频流详细",
"parentID": 63,
"type": 1,
"path": "/videoManagers/vidstream/detail/:id",
"component": "./videoManagers/vidstream/detail/index",
"icon": "icon_heat",
"redirect": "",
"order": 1,
"hideInMenu": 1,
"body": null,
"createTime": 1702877394,
"children": null
}
]
}
]
}
}

扫码加入 iThings微信交流群

