Commit cfe9c68c authored by 赵浩琳's avatar 赵浩琳

修改完手机号登出用户

parent 41ba705c
......@@ -323,6 +323,8 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
UserModifyPhoneRecord record = new UserModifyPhoneRecord();
BeanUtils.copyProperties(modifyPhoneRecord, record);
modifyPhoneRecordRepository.saveAndFlush(record);
//登出此用户
sessionService.deleteByUserId(user.getId());
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment