docs: 完善注释
This commit is contained in:
@@ -22,7 +22,7 @@ import java.util.List;
|
||||
/**
|
||||
* 部门控制器
|
||||
*
|
||||
* @author haoxr
|
||||
* @author Ray.Hao
|
||||
* @since 2020/11/6
|
||||
*/
|
||||
@Tag(name = "05.部门接口")
|
||||
|
||||
@@ -66,7 +66,7 @@ public class DictController {
|
||||
return Result.success(list);
|
||||
}
|
||||
|
||||
@Operation(summary = "字典表单数据")
|
||||
@Operation(summary = "获取字典表单数据")
|
||||
@GetMapping("/{id}/form")
|
||||
public Result<DictForm> getDictForm(
|
||||
@Parameter(description = "字典ID") @PathVariable Long id
|
||||
|
||||
@@ -62,7 +62,7 @@ public class RoleController {
|
||||
return Result.judge(result);
|
||||
}
|
||||
|
||||
@Operation(summary = "角色表单数据")
|
||||
@Operation(summary = "获取角色表单数据")
|
||||
@GetMapping("/{roleId}/form")
|
||||
public Result<RoleForm> getRoleForm(
|
||||
@Parameter(description = "角色ID") @PathVariable Long roleId
|
||||
@@ -108,7 +108,7 @@ public class RoleController {
|
||||
return Result.success(menuIds);
|
||||
}
|
||||
|
||||
@Operation(summary = "分配菜单(包括按钮权限)给角色")
|
||||
@Operation(summary = "角色分配菜单权限")
|
||||
@PutMapping("/{roleId}/menus")
|
||||
public Result<Void> assignMenusToRole(
|
||||
@PathVariable Long roleId,
|
||||
|
||||
@@ -78,7 +78,7 @@ public class UserController {
|
||||
return Result.judge(result);
|
||||
}
|
||||
|
||||
@Operation(summary = "用户表单数据")
|
||||
@Operation(summary = "获取用户表单数据")
|
||||
@GetMapping("/{userId}/form")
|
||||
@Log(value = "用户表单数据", module = LogModuleEnum.USER)
|
||||
public Result<UserForm> getUserForm(
|
||||
@@ -248,7 +248,7 @@ public class UserController {
|
||||
return Result.judge(result);
|
||||
}
|
||||
|
||||
@Operation(summary = "用户下拉选项")
|
||||
@Operation(summary = "获取用户下拉选项")
|
||||
@GetMapping("/options")
|
||||
public Result<List<Option<String>>> listUserOptions() {
|
||||
List<Option<String>> list = userService.listUserOptions();
|
||||
|
||||
Reference in New Issue
Block a user