UpdateUserByMiniInfo中UpdateEntity返回错误

This commit is contained in:
gazebo
2020-02-01 20:38:24 +08:00
parent a7bc749ff0
commit 0d650cf82b

View File

@@ -418,7 +418,7 @@ func (c *Auth2Controller) UpdateUserByMiniInfo() {
if userInfo.PurePhoneNumber != "" {
user.Mobile = utils.String2Pointer(userInfo.PurePhoneNumber)
}
dao.UpdateEntity(dao.GetDB(), user)
_, err = dao.UpdateEntity(dao.GetDB(), user)
}
}
}