fetch(modify):修改bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m6s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m6s
This commit is contained in:
@@ -51,11 +51,10 @@ export interface DeviceQueryParams extends PaginationParams {
|
||||
|
||||
// 设备列表响应
|
||||
export interface DeviceListResponse {
|
||||
list: Device[] | null // 设备列表
|
||||
items: Device[] | null // 设备列表
|
||||
page: number // 当前页码
|
||||
page_size: number // 每页数量
|
||||
size: number // 每页数量
|
||||
total: number // 总数
|
||||
total_pages: number // 总页数
|
||||
}
|
||||
|
||||
// ========== 设备卡绑定相关 ==========
|
||||
|
||||
@@ -36,15 +36,17 @@ export interface Permission {
|
||||
children?: Permission[] // 子权限列表(树形结构)
|
||||
}
|
||||
|
||||
// 权限树节点
|
||||
// 权限树节点(匹配后端 DtoPermissionTreeNode)
|
||||
export interface PermissionTreeNode {
|
||||
id: string | number
|
||||
label: string
|
||||
value: string
|
||||
permissionCode: string
|
||||
permissionType: PermissionType
|
||||
parentId?: string | number
|
||||
children?: PermissionTreeNode[]
|
||||
id: number // 权限ID
|
||||
perm_code: string // 权限编码
|
||||
perm_name: string // 权限名称
|
||||
perm_type: number // 权限类型 (1:菜单, 2:按钮)
|
||||
url?: string // 请求路径
|
||||
platform?: string // 适用端口 (all:全部, web:Web后台, h5:H5端)
|
||||
sort?: number // 排序值
|
||||
available_for_role_types?: string // 可用角色类型 (1:平台角色, 2:客户角色)
|
||||
children?: PermissionTreeNode[] // 子权限列表
|
||||
}
|
||||
|
||||
// 权限查询参数
|
||||
|
||||
Reference in New Issue
Block a user