diff --git a/cf-module-system/cf-module-system-biz/src/main/java/com/cf/imes/module/system/controller/admin/labeltype/LabelTypeController.java b/cf-module-system/cf-module-system-biz/src/main/java/com/cf/imes/module/system/controller/admin/labeltype/LabelTypeController.java index 54e14fb1f..9dc5d053c 100644 --- a/cf-module-system/cf-module-system-biz/src/main/java/com/cf/imes/module/system/controller/admin/labeltype/LabelTypeController.java +++ b/cf-module-system/cf-module-system-biz/src/main/java/com/cf/imes/module/system/controller/admin/labeltype/LabelTypeController.java @@ -30,21 +30,21 @@ public class LabelTypeController { @GetMapping("/list") @Operation(summary = "获得标签类型列表") @PreAuthorize("@ss.hasPermission('sysTagDesignManager:query')") - public CommonResult> getList(@RequestParam(value = "organId", required = false) Long organId) { + public CommonResult> getLabelTypeList(@RequestParam(value = "organId", required = false) Long organId) { return success(labelTypeService.getLabelTypeList(organId)); } @PostMapping("/create") @Operation(summary = "创建自定义标签类型") @PreAuthorize("@ss.hasPermission('sysTagDesignManager:create')") - public CommonResult create(@Valid @RequestBody LabelTypeSaveReqVO reqVO) { + public CommonResult createLabelType(@Valid @RequestBody LabelTypeSaveReqVO reqVO) { return success(labelTypeService.createLabelType(reqVO)); } @PutMapping("/update") @Operation(summary = "修改自定义标签类型") @PreAuthorize("@ss.hasPermission('sysTagDesignManager:update')") - public CommonResult update(@Valid @RequestBody LabelTypeSaveReqVO reqVO) { + public CommonResult updateLabelType(@Valid @RequestBody LabelTypeSaveReqVO reqVO) { labelTypeService.updateLabelType(reqVO); return success(true); } @@ -53,7 +53,7 @@ public class LabelTypeController { @Operation(summary = "删除自定义标签类型") @Parameter(name = "id", description = "编号", required = true) @PreAuthorize("@ss.hasPermission('sysTagDesignManager:delete')") - public CommonResult delete(@RequestParam("id") @NotNull Long id) { + public CommonResult deleteLabelType(@RequestParam("id") @NotNull Long id) { labelTypeService.deleteLabelType(id); return success(true); }