mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复uniapp端更新手机号后createTime被更新
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user