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));