mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-17 15:23:42 +08:00
重构角色和权限相关DTO,替换RoleDto为RoleRespDto,并更新相关服务和控制器逻辑
This commit is contained in:
@@ -289,7 +289,7 @@
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RoleDto"
|
||||
"$ref": "#/components/schemas/RoleRespDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1031,7 +1031,7 @@
|
||||
"content": {
|
||||
"*/*": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/PageResponseDtoListRoleDto"
|
||||
"$ref": "#/components/schemas/PageResponseDtoListRoleRespDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1718,6 +1718,12 @@
|
||||
}
|
||||
},
|
||||
"PermissionRespDto": {
|
||||
"required": [
|
||||
"code",
|
||||
"id",
|
||||
"isBound",
|
||||
"name"
|
||||
],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -1735,7 +1741,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"RoleDto": {
|
||||
"RoleRespDto": {
|
||||
"required": [
|
||||
"code",
|
||||
"id",
|
||||
"isBound",
|
||||
"name"
|
||||
],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -1760,6 +1772,12 @@
|
||||
}
|
||||
},
|
||||
"UserRolePermissionDto": {
|
||||
"required": [
|
||||
"createTime",
|
||||
"enable",
|
||||
"id",
|
||||
"username"
|
||||
],
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
@@ -1782,7 +1800,7 @@
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RoleDto"
|
||||
"$ref": "#/components/schemas/RoleRespDto"
|
||||
}
|
||||
},
|
||||
"createTime": {
|
||||
@@ -1832,7 +1850,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"PageResponseDtoListRoleDto": {
|
||||
"PageResponseDtoListRoleRespDto": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"total": {
|
||||
@@ -1842,7 +1860,7 @@
|
||||
"data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RoleDto"
|
||||
"$ref": "#/components/schemas/RoleRespDto"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user