From 3ac483a23639510048b8f2a4f624862d39690ca6 Mon Sep 17 00:00:00 2001 From: gaoqr <13665037151@163.com> Date: Mon, 10 Aug 2026 16:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=B1=BB=E5=9E=8B=E7=AE=A1?= =?UTF-8?q?=E7=90=86api=E6=96=B9=E6=B3=95=E4=B8=AA=E6=80=A7=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/labeltype/LabelTypeController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }