搜索中心-法规月报-接口

This commit is contained in:
liyawei
2022-08-18 10:59:48 +08:00
parent 7335445c40
commit 82f2ff886a
@@ -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);