From 1d67e968e97c1a787b63c144998e032823785ff4 Mon Sep 17 00:00:00 2001 From: YuanFeng <770153798@qq.com> Date: Tue, 19 Nov 2024 22:30:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=81=9C=E7=94=A8=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E5=93=81=E7=B1=BB=E5=9E=8B=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/admin/producttype/ProductTypeController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hangtag-module-oms/hangtag-module-oms-biz/src/main/java/cn/hangtag/module/oms/base/controller/admin/producttype/ProductTypeController.java b/hangtag-module-oms/hangtag-module-oms-biz/src/main/java/cn/hangtag/module/oms/base/controller/admin/producttype/ProductTypeController.java index 3f6a7af..ff7cae2 100644 --- a/hangtag-module-oms/hangtag-module-oms-biz/src/main/java/cn/hangtag/module/oms/base/controller/admin/producttype/ProductTypeController.java +++ b/hangtag-module-oms/hangtag-module-oms-biz/src/main/java/cn/hangtag/module/oms/base/controller/admin/producttype/ProductTypeController.java @@ -66,7 +66,7 @@ public class ProductTypeController { @GetMapping("/get") @Operation(summary = "获得产品类型表 ") @Parameter(name = "id", description = "编号", required = true, example = "1024") - @PreAuthorize("@ss.hasPermission('base:product-type:query')") +// @PreAuthorize("@ss.hasPermission('base:product-type:query')") public CommonResult getProductType(@RequestParam("id") Long id) { ProductTypeDO productType = productTypeService.getProductType(id); return success(BeanUtils.toBean(productType, ProductTypeRespVO.class)); @@ -74,7 +74,7 @@ public class ProductTypeController { @GetMapping("/page") @Operation(summary = "获得产品类型表 分页") - @PreAuthorize("@ss.hasPermission('base:product-type:query')") +// @PreAuthorize("@ss.hasPermission('base:product-type:query')") public CommonResult> getProductTypePage(@Valid ProductTypePageReqVO pageReqVO) { PageResult pageResult = productTypeService.getProductTypePage(pageReqVO); return success(BeanUtils.toBean(pageResult, ProductTypeRespVO.class));