Optimize code

This commit is contained in:
2023-11-15 16:23:42 +08:00
parent b4f60eba94
commit 3735ded9f2
3 changed files with 4 additions and 4 deletions

View File

@@ -18,6 +18,6 @@ class PowerController(
private val powerService: IPowerService
) {
@Operation(summary = "获取权限列表")
@GetMapping
fun get() = ResponseResult.databaseSuccess(data = powerService.getAll())
@GetMapping("/list")
fun getList() = ResponseResult.databaseSuccess(data = powerService.getList())
}