日志备份功能
This commit is contained in:
parent
0b379e05b1
commit
1b39827a2b
|
|
@ -319,7 +319,7 @@ public class SysLoginService {
|
|||
*/
|
||||
public void logout(String loginName, String userId) {
|
||||
try {
|
||||
recordLogService.saveLogout(loginName, "退出成功", "退出成功", userId, "退出成功");
|
||||
recordLogService.saveLogout(loginName, "成功", "成功", userId, "成功");
|
||||
} catch (Exception e) {
|
||||
recordLogService.saveLogs(loginName, System.currentTimeMillis(), "登出异常", e.getMessage(), null, "失败");
|
||||
throw new ServiceException("退出失败,请稍后重试");
|
||||
|
|
|
|||
Loading…
Reference in New Issue