菜单分页查询
本地
本地
GET
http://127.0.0.1:9999/api/v1/ui_elements
ui元素控制
请求参数
Query 参数
page
integer
页码
page_size
integer
每页数量
Header 参数
x-token
string
可选
默认值:
{{x-token}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9999/api/v1/ui_elements?page=&page_size=' \
--header 'x-token: {{x-token}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
list
array [object {14}]
必需
total
integer
必需
示例
{
"code": 0,
"message": "string",
"data": {
"list": [
{
"id": "string",
"parent_id": "string",
"element_code": "string",
"element_type": 0,
"orders": 0,
"param1": "string",
"param2": "string",
"param3": "string",
"authority": "string",
"description": "string",
"remark": "string",
"multilingual": "string",
"route_path": null,
"children": [
{
"id": "string",
"parent_id": "string",
"element_code": "string",
"element_type": 0,
"orders": 0,
"param1": "string",
"param2": "string",
"param3": "string",
"authority": "string",
"description": "string",
"remark": "string",
"multilingual": "string",
"route_path": null,
"children": [
{
"id": "string",
"parent_id": "string",
"element_code": "string",
"element_type": 0,
"orders": 0,
"param1": "string",
"param2": "string",
"param3": "string",
"authority": "string",
"description": "string",
"remark": "string",
"multilingual": "string",
"route_path": null,
"children": [
"string"
]
}
]
}
]
}
],
"total": 0
}
}
修改于 2025-03-25 02:12:45