| | |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import com.vci.ubcs.common.cache.CacheNames; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.hibernate.validator.internal.util.logging.Log; |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | | import org.springblade.core.excel.util.ExcelUtil; |
| | |
| | | return R.data(userService.platformDetail(user)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 用户列表查询 |
| | | */ |
| | |
| | | } |
| | | |
| | | /** |
| | | * 用户解锁 |
| | | * 检查用户是否到了提醒用户修改密码或者密码过期的时间 |
| | | */ |
| | | @PostMapping("/check-renexpr") |
| | | @ApiOperationSupport(order = 20) |
| | |
| | | return R.data(res); |
| | | } |
| | | |
| | | /** |
| | | * 获取到指定身份权限的用户列表 |
| | | * @param user 用户查询的用户信息,如租户信息,通常为自动注入,前端可选择不传 |
| | | * @param roleName 要查询的角色身份 |
| | | * @return |
| | | */ |
| | | @GetMapping("/getByRoleUserList") |
| | | @ApiOperationSupport(order = 21) |
| | | @ApiOperation(value = "获取到指定身份权限的用户列表", notes = "传入id") |
| | | public R<List<UserVO>> getByRoleUserList(BladeUser user,@Valid @RequestParam String roleName){ |
| | | return R.data(userService.getByRoleUserList(user,roleName)); |
| | | } |
| | | |
| | | } |