修改 工厂员工信息查询接口权限
This commit is contained in:
parent
043f7dec71
commit
b5047b30f1
@ -115,7 +115,7 @@ public class FactoryUserController {
|
|||||||
@GetMapping("/get")
|
@GetMapping("/get")
|
||||||
@Operation(summary = "获得工厂用户详情")
|
@Operation(summary = "获得工厂用户详情")
|
||||||
@Parameter(name = "id", description = "编号", required = true, example = "146")
|
@Parameter(name = "id", description = "编号", required = true, example = "146")
|
||||||
@PreAuthorize("@ss.hasPermission('system:user:query')")
|
@PreAuthorize("@ss.hasPermission('system:factory-user:query')")
|
||||||
public CommonResult<FactoryUserRespVO> getUser(@RequestParam("id") Long id) {
|
public CommonResult<FactoryUserRespVO> getUser(@RequestParam("id") Long id) {
|
||||||
|
|
||||||
AdminUserDO user = userService.getUser(id);
|
AdminUserDO user = userService.getUser(id);
|
||||||
@ -137,7 +137,7 @@ public class FactoryUserController {
|
|||||||
|
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
@Operation(summary = "获得工厂用户分页列表")
|
@Operation(summary = "获得工厂用户分页列表")
|
||||||
@PreAuthorize("@ss.hasPermission('system:user:list')")
|
@PreAuthorize("@ss.hasPermission('system:factory-user:query')")
|
||||||
public CommonResult<PageResult<FactoryUserRespVO>> getUserPage(@Valid FactoryUserPageReqVO pageReqVO) {
|
public CommonResult<PageResult<FactoryUserRespVO>> getUserPage(@Valid FactoryUserPageReqVO pageReqVO) {
|
||||||
|
|
||||||
// 获得用户分页列表
|
// 获得用户分页列表
|
||||||
|
Loading…
Reference in New Issue
Block a user