搜索中心-法规月报-接口
This commit is contained in:
+3
-2
@@ -7,6 +7,7 @@ import com.jero.modules.searchcenter.vo.SearchVO;
|
|||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
@@ -27,9 +28,9 @@ public class LawsMonthlyReportSearchController {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private ILawsMonthlyReportSearchService lawsMonthlyReportSearchService;
|
private ILawsMonthlyReportSearchService lawsMonthlyReportSearchService;
|
||||||
|
|
||||||
@ApiOperation(value="全部查询", notes="全部查询")
|
@ApiOperation(value="法规月报查询", notes="法规月报查询")
|
||||||
@PostMapping(value = "/page")
|
@PostMapping(value = "/page")
|
||||||
// @RequiresPermissions("lawsMonthlyReport:page")
|
@RequiresPermissions("document:search")
|
||||||
public Result<?> queryPageInfo(@RequestBody SearchVO searchVO) {
|
public Result<?> queryPageInfo(@RequestBody SearchVO searchVO) {
|
||||||
IPage pageInfo = lawsMonthlyReportSearchService.pageInfo(searchVO);
|
IPage pageInfo = lawsMonthlyReportSearchService.pageInfo(searchVO);
|
||||||
return Result.OK(pageInfo);
|
return Result.OK(pageInfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user