diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/controller/LawsMonthlyReportSearchController.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/controller/LawsMonthlyReportSearchController.java index eaff9a3aa..230c6e1fa 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/controller/LawsMonthlyReportSearchController.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/searchcenter/controller/LawsMonthlyReportSearchController.java @@ -7,6 +7,7 @@ import com.jero.modules.searchcenter.vo.SearchVO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; +import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -27,9 +28,9 @@ public class LawsMonthlyReportSearchController { @Autowired private ILawsMonthlyReportSearchService lawsMonthlyReportSearchService; - @ApiOperation(value="全部查询", notes="全部查询") + @ApiOperation(value="法规月报查询", notes="法规月报查询") @PostMapping(value = "/page") -// @RequiresPermissions("lawsMonthlyReport:page") + @RequiresPermissions("document:search") public Result queryPageInfo(@RequestBody SearchVO searchVO) { IPage pageInfo = lawsMonthlyReportSearchService.pageInfo(searchVO); return Result.OK(pageInfo);