|
|
@ -33,7 +33,7 @@ public class TokenController { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@DeleteMapping("/remove/{id}") |
|
|
|
@DeleteMapping("/remove/{id}") |
|
|
|
@PreAuthorize("@pms.hasPermission('sys_token_del')") |
|
|
|
@PreAuthorize("@pms.hasPermission('token_del')") |
|
|
|
public R<Boolean> delete(@PathVariable String id) { |
|
|
|
public R<Boolean> delete(@PathVariable String id) { |
|
|
|
return remoteTokenService.removeToken(id, SecurityConstants.FROM_IN); |
|
|
|
return remoteTokenService.removeToken(id, SecurityConstants.FROM_IN); |
|
|
|
} |
|
|
|
} |
|
|
|