修复uniapp端更新手机号后createTime被更新

This commit is contained in:
TinyAnts 2022-11-17 15:07:32 +08:00
parent b1fe1d9d47
commit 522c698f6c
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ public class UserServiceImpl implements IUserService {
User user = new User();
user.setId(userId);
user.setMobile(wxMaPhoneNumberInfo.getPhoneNumber());
user.setCreateTime(System.currentTimeMillis() / 1000);
user.setUpdateTime(System.currentTimeMillis() / 1000);
userMapper.updateById(user);
} catch (WxErrorException e) {
throw new OperateException(e.getError().getErrorCode() + ", " + e.getError().getErrorMsg());