作者 tangxvhui

bug 修复

... ... @@ -312,8 +312,8 @@ func UpdateEmployeeData(data ModuleEmployee) error {
//更新用户数据
userdata.NickName = data.Name
userdata.Phone = data.Phone
err = models.UpdateUserById(userdata, []string{"NickName", "Phone"}, o)
userdata.UserCenterId = data.OpenId
err = models.UpdateUserById(userdata, []string{"NickName", "Phone", "UserCenterId"}, o)
if err != nil {
o.Rollback()
log.Error("UpdateUserById err:%s", err)
... ...