update 优化 将空 catch 块形参重命名为 ignored

This commit is contained in:
疯狂的狮子li
2022-11-21 15:31:55 +08:00
parent 98c4c2cd12
commit 98a63bf3b2
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ public class SysUserOnlineController extends BaseController {
public R<Void> forceLogout(@PathVariable String tokenId) {
try {
StpUtil.kickoutByTokenValue(tokenId);
} catch (NotLoginException e) {
} catch (NotLoginException ignored) {
}
return R.ok();
}