【fix-bug78575】标签管理-垂直越权的添加

This commit is contained in:
fengchenchen
2023-11-17 19:07:20 +08:00
parent ab3c89381e
commit 1d8e811fc6
2 changed files with 2 additions and 1 deletions
@@ -171,6 +171,7 @@ public class LawsAreaController extends JeroController<LawsArea, ILawsAreaServic
@AutoLog(value = "区域管理表-批量删除")
@ApiOperation(value="区域管理表-批量删除", notes="区域管理表-批量删除")
@PostMapping(value = "/deleteBatch")
@RequiresPermissions("area:delete")
public Result<?> deleteBatch(@RequestBody Map<String, String> map) {
if(!map.containsKey("ids") || StringUtils.isEmpty(map.get("ids"))){
return Result.error(ResultCommon.PLEASE_SELECT_DATA);
@@ -59,7 +59,7 @@ public class LawsTagController extends JeroController<LawsTag, ILawsTagService>
@AutoLog(value = "标签管理-分页列表查询")
@ApiOperationSupport(order = 1)
@ApiOperation(value="标签管理-分页列表查询", notes="标签管理-分页列表查询")
//@RequiresPermissions("tag:page")
@RequiresPermissions("tag:page")
@GetMapping(value = "/page")
public Result<?> queryPageList(LawsTag lawsTag,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,