feat: 接口名称修改
This commit is contained in:
parent
05496e16a8
commit
7fb81488f9
|
@ -15,6 +15,10 @@ import lombok.NoArgsConstructor;
|
|||
@Schema(name = "PowerAddDto对象", title = "权限", description = "权限管理")
|
||||
public class PowerAddDto {
|
||||
|
||||
@Schema(name = "id", title = "主键")
|
||||
@NotNull(message = "id不能为空")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "parentId", title = "父级id")
|
||||
private Long parentId;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 部门表 前端控制器
|
||||
* 部门 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -24,7 +24,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 邮箱用户发送配置表 前端控制器
|
||||
* 邮箱用户发送配置 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -34,7 +34,7 @@ import java.util.Set;
|
|||
* @author Bunny
|
||||
* @since 2024-10-09 16:28:01
|
||||
*/
|
||||
@Tag(name = "系统文件表", description = "系统文件表相关接口")
|
||||
@Tag(name = "系统文件表", description = "系统文件相关接口")
|
||||
@RestController
|
||||
@RequestMapping("admin/files")
|
||||
public class FilesController {
|
||||
|
@ -42,7 +42,7 @@ public class FilesController {
|
|||
@Autowired
|
||||
private FilesService filesService;
|
||||
|
||||
@Operation(summary = "分页查询系统文件表", description = "分页查询系统文件表")
|
||||
@Operation(summary = "分页查询系统文件", description = "分页查询系统文件")
|
||||
@GetMapping("getFilesList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<FilesVo>>> getFilesList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -83,14 +83,14 @@ public class FilesController {
|
|||
return filesService.downloadFilesByFilepath(filepath);
|
||||
}
|
||||
|
||||
@Operation(summary = "更新系统文件表", description = "更新系统文件表")
|
||||
@Operation(summary = "更新系统文件", description = "更新系统文件")
|
||||
@PutMapping("updateFiles")
|
||||
public Result<String> updateFiles(@Valid FilesUpdateDto dto) {
|
||||
filesService.updateFiles(dto);
|
||||
return Result.success(ResultCodeEnum.UPDATE_SUCCESS);
|
||||
}
|
||||
|
||||
@Operation(summary = "添加系统文件表", description = "添加系统文件表")
|
||||
@Operation(summary = "添加系统文件", description = "添加系统文件")
|
||||
@PostMapping("addFiles")
|
||||
public Mono<Result<String>> addFiles(@Valid FilesAddDto dto) {
|
||||
filesService.addFiles(dto);
|
||||
|
@ -104,7 +104,7 @@ public class FilesController {
|
|||
return Result.success(vo, ResultCodeEnum.SUCCESS_UPLOAD);
|
||||
}
|
||||
|
||||
@Operation(summary = "删除系统文件表", description = "删除系统文件表")
|
||||
@Operation(summary = "删除系统文件", description = "删除系统文件")
|
||||
@DeleteMapping("deleteFiles")
|
||||
public Result<String> deleteFiles(@RequestBody List<Long> ids) {
|
||||
filesService.deleteFiles(ids);
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 多语言表 前端控制器
|
||||
* 多语言 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
@ -44,7 +44,7 @@ public class I18nController {
|
|||
return Mono.just(Result.success(vo));
|
||||
}
|
||||
|
||||
@Operation(summary = "获取管理多语言列表", description = "获取管理多语言列表")
|
||||
@Operation(summary = "获取管理多语言列", description = "获取管理多语言列")
|
||||
@GetMapping("getI18nList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<I18nVo>>> getI18nList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
|
|
@ -17,7 +17,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 多语言类型表 前端控制器
|
||||
* 多语言类型 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -49,7 +49,7 @@ public class MenuIconController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "获取查询图标名称列表", description = "获取查询图标名称列表")
|
||||
@Operation(summary = "获取查询图标名称列", description = "获取查询图标名称列")
|
||||
@GetMapping("getIconNameList")
|
||||
public Mono<Result<List<MenuIconVo>>> getIconNameList(String iconName) {
|
||||
List<MenuIconVo> voList = menuIconService.getIconNameList(iconName);
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 权限表 前端控制器
|
||||
* 权限 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 角色表 前端控制器
|
||||
* 角色 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -28,7 +28,7 @@ public class RolePowerController {
|
|||
@Autowired
|
||||
private RolePowerService rolePowerService;
|
||||
|
||||
@Operation(summary = "根据角色id获取权限内容", description = "角色列表获取已选择的权限")
|
||||
@Operation(summary = "根据角色id获取权限内容", description = "角色列获取已选择的权限")
|
||||
@GetMapping("getPowerListByRoleId")
|
||||
public Mono<Result<List<String>>> getPowerListByRoleId(Long id) {
|
||||
List<String> voList = rolePowerService.getPowerListByRoleId(id);
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 系统菜单表 前端控制器
|
||||
* 系统菜单 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
@ -44,7 +44,7 @@ public class RouterController {
|
|||
return Mono.just(Result.success(voList));
|
||||
}
|
||||
|
||||
@Operation(summary = "分页管理菜单列表", description = "分页管理菜单列表")
|
||||
@Operation(summary = "分页管理菜单列", description = "分页管理菜单列")
|
||||
@GetMapping("getMenusList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<RouterManageVo>>> getMenusByPage(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -58,7 +58,7 @@ public class RouterController {
|
|||
return Mono.just(Result.success(voPageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "管理菜单列表", description = "管理菜单列表")
|
||||
@Operation(summary = "管理菜单列", description = "管理菜单列")
|
||||
@GetMapping("getMenusList")
|
||||
public Mono<Result<List<RouterManageVo>>> getMenusList(RouterManageDto dto) {
|
||||
List<RouterManageVo> voPageResult = routerService.getMenusList(dto);
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* Schedulers视图表 前端控制器
|
||||
* Schedulers视图 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 任务调度分组表 前端控制器
|
||||
* 任务调度分组 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -6,7 +6,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 部门用户关系表 前端控制器
|
||||
* 部门用户关系 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
|
|
|
@ -27,7 +27,7 @@ public class UserRoleController {
|
|||
@Autowired
|
||||
private UserRoleService userRoleService;
|
||||
|
||||
@Operation(summary = "根据用户id获取角色列表", description = "根据用户id获取角色列表")
|
||||
@Operation(summary = "根据用户id获取角色列", description = "根据用户id获取角色列")
|
||||
@GetMapping("getRoleListByUserId")
|
||||
public Mono<Result<List<String>>> getRoleListByUserId(Long userId) {
|
||||
List<String> roleVoList = userRoleService.getRoleListByUserId(userId);
|
||||
|
|
Loading…
Reference in New Issue