Optimize code
This commit is contained in:
@@ -20,8 +20,8 @@ import top.fatweb.api.vo.permission.base.GroupVo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Tag(name = "用户组管理", description = "用户组管理相关接口")
|
||||
@RestController
|
||||
@RequestMapping("/system/group")
|
||||
@RestController
|
||||
class GroupController(
|
||||
val groupService: IGroupService
|
||||
) {
|
||||
|
||||
@@ -17,8 +17,8 @@ import top.fatweb.api.vo.permission.PowerSetVo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Tag(name = "权限管理", description = "权限管理相关接口")
|
||||
@RestController
|
||||
@RequestMapping("/system/power")
|
||||
@RestController
|
||||
class PowerController(
|
||||
private val powerService: IPowerService
|
||||
) {
|
||||
|
||||
@@ -20,8 +20,8 @@ import top.fatweb.api.vo.permission.base.RoleVo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Tag(name = "角色管理", description = "角色管理相关接口")
|
||||
@RestController
|
||||
@RequestMapping("/system/role")
|
||||
@RestController
|
||||
class RoleController(
|
||||
private val roleService: IRoleService
|
||||
) {
|
||||
|
||||
@@ -22,8 +22,8 @@ import top.fatweb.api.vo.permission.UserWithRoleInfoVo
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Tag(name = "用户管理", description = "用户管理相关接口")
|
||||
@RestController
|
||||
@RequestMapping("/system/user")
|
||||
@RestController
|
||||
class UserController(
|
||||
private val userService: IUserService
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user