修复超级管理员无法踢出用户问题
This commit is contained in:
parent
de8bff4a25
commit
e64d8eb314
|
@ -61,7 +61,7 @@ public class UserOnlineController {
|
||||||
|
|
||||||
@DeleteMapping("{accessToken}")
|
@DeleteMapping("{accessToken}")
|
||||||
@Operation(summary = "强制退出")
|
@Operation(summary = "强制退出")
|
||||||
@PreAuthorize("hasAuthority('monitor:user:user')")
|
@PreAuthorize("hasAuthority('monitor:user:all')")
|
||||||
public Result<String> forceLogout(@PathVariable("accessToken") String accessToken) {
|
public Result<String> forceLogout(@PathVariable("accessToken") String accessToken) {
|
||||||
// token不能为空
|
// token不能为空
|
||||||
if (StrUtil.isBlank(accessToken)) {
|
if (StrUtil.isBlank(accessToken)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user