|
@ -61,7 +61,7 @@ public class AccountService { |
|
|
// logout |
|
|
// logout |
|
|
public void logout() { |
|
|
public void logout() { |
|
|
if ( this.deviceService.isExecutorRunning() ) { |
|
|
if ( this.deviceService.isExecutorRunning() ) { |
|
|
throw new RuntimeException("ACCOUNT_LOGOUT_EXECUTOR_RUNNING"); |
|
|
|
|
|
|
|
|
throw new RuntimeException("设备正在运行,无法退出登录"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
this.actionLog.log("account.logout"); |
|
|
this.actionLog.log("account.logout"); |
|
|