- system
- access
- app
- common
- data
- dict
- log
- module
- ops
- role
- tenant
- access
- app
- core
- info
- agreement
- config
- user
- notify
- area
- project
- slot
- dept
- job
- open
- data
获取租户应用菜单列表
POST
/api/v1/system/tenant/app/menu/index
system/tenant/app/menusystemTenantAppMenu
请求参数
Header 参数
Ithings-Project-Id
string
可选
默认值:
{{Ithings-Project-Id}}
Ithings-Token
string
可选
默认值:
{{iThings-token}}
app-code
string
可选
默认值:
{{appCode}}
device-id
string
可选
Body 参数application/json
code
string
租户编号
appCode
string
必需
moduleCode
string
必需
isRetTree
boolean
可选
示例
{
"code": "string",
"appCode": "string",
"moduleCode": "string",
"isRetTree": true
}
示例代码
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/tenant/app/menu/index' \
--header 'Ithings-Project-Id: {{Ithings-Project-Id}}' \
--header 'Ithings-Token: {{iThings-token}}' \
--header 'app-code: {{appCode}}' \
--header 'device-id;' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
返回code
默认值:
200
msg
string
返回的消息
data
object (TenantAppMenuIndexResp)
可选
list
array[object (TenantAppMenu) {18}]
必需
示例
{
"code": "200",
"msg": "string",
"data": {
"list": [
{
"templateID": 0,
"code": "string",
"appCode": "string",
"id": 0,
"moduleCode": "string",
"name": "string",
"parentID": 0,
"type": 0,
"path": "string",
"component": "string",
"icon": "string",
"redirect": "string",
"order": 0,
"hideInMenu": 0,
"isCommon": 0,
"body": "string",
"createTime": 0,
"children": [
{}
]
}
]
}
}
修改于 2025-03-25 09:32:22