add 委员会权限

This commit is contained in:
lijiarao
2024-06-07 15:23:29 +08:00
parent 9dfc117304
commit 857df53f1e
2 changed files with 5 additions and 0 deletions
@@ -15,6 +15,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
@@ -44,6 +45,7 @@ public class PayCommitteeInfoController extends JeroController<PayCommitteeInfo,
/**
* 分页列表查询
*/
@RequiresPermissions("committeeInfo:search")
@ApiOperation(value = "委员会表-分页列表查询", notes = "委员会表-分页列表查询")
@GetMapping(value = "/page")
public Result<IPage<PayCommitteeInfo>> queryPageList(PayCommitteeInfo payCommitteeInfo,
@@ -17,6 +17,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
@@ -47,6 +48,7 @@ public class PayCommitteeMemberInfoController extends JeroController<PayCommitte
/**
* 分页列表查询
*/
@RequiresPermissions("committeeMemberInfo:search")
@ApiOperation(value = "委员会成员表-分页列表查询", notes = "委员会成员表-分页列表查询")
@GetMapping(value = "/page")
public Result<IPage<PayCommitteeMemberInfo>> queryPageList(PayCommitteeMemberInfo payCommitteeMemberInfo,
@@ -99,6 +101,7 @@ public class PayCommitteeMemberInfoController extends JeroController<PayCommitte
/**
* 上传个人照片
*/
@RequiresPermissions("committeeMemberInfo:uploadPhoto")
@AutoLog(value = "委员会成员表-上传个人照片")
@ApiOperation(value = "委员会成员表-上传个人照片", notes = "委员会成员表-上传个人照片")
@PostMapping(value = "/uploadPhoto")