17808
2023-11-09 0c29b611124679e564f2e5bd63f10f8c8ac0ba81
src/main/java/com/mindskip/xzs/controller/student/UserController.java
@@ -86,6 +86,7 @@
        User user = userService.selectById(getCurrentUser().getId());
        modelMapper.map(model, user);
        user.setModifyTime(new Date());
        user.setPassword(user.getPassword() != null ? authenticationService.pwdEncode(user.getPassword()) : null);
        userService.updateByIdFilter(user);
        UserEventLog userEventLog = new UserEventLog(user.getId(), user.getUserName(), user.getRealName(), new Date());
        userEventLog.setContent(user.getUserName() + " 更新了个人资料");