UpdateUserByMiniInfo中UpdateEntity返回错误
This commit is contained in:
@@ -418,7 +418,7 @@ func (c *Auth2Controller) UpdateUserByMiniInfo() {
|
|||||||
if userInfo.PurePhoneNumber != "" {
|
if userInfo.PurePhoneNumber != "" {
|
||||||
user.Mobile = utils.String2Pointer(userInfo.PurePhoneNumber)
|
user.Mobile = utils.String2Pointer(userInfo.PurePhoneNumber)
|
||||||
}
|
}
|
||||||
dao.UpdateEntity(dao.GetDB(), user)
|
_, err = dao.UpdateEntity(dao.GetDB(), user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user