mirror of
https://github.com/YunaiV/ruoyi-vue-pro.git
synced 2026-03-30 03:13:04 +00:00
fix: 【member】清理 socialUser 对象以确保 updateTime 正确更新
This commit is contained in:
@@ -153,6 +153,7 @@ public class SocialUserServiceImpl implements SocialUserService {
|
||||
if (socialUser.getId() == null) {
|
||||
socialUserMapper.insert(socialUser);
|
||||
} else {
|
||||
socialUser.clean(); // 避免 updateTime 不更新:https://gitee.com/yudaocode/yudao-boot-mini/issues/ID7FUL
|
||||
socialUserMapper.updateById(socialUser);
|
||||
}
|
||||
return socialUser;
|
||||
|
||||
Reference in New Issue
Block a user