修复uniapp端更新手机号后createTime被更新
This commit is contained in:
parent
b1fe1d9d47
commit
522c698f6c
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue