add 委员会权限
This commit is contained in:
+2
@@ -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,
|
||||
|
||||
+3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user