rake更新用户邮箱和手机号

This commit is contained in:
“xxq250” 2022-09-23 10:32:37 +08:00
parent 665df16c25
commit 72b753d11d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace :update_educoder_user do
department_name = user_info["school"]
password = "12345678"
user.update_columns(mail: "#{email}", phone: "#{phone}")
user.update_columns(mail: "#{email}", phone: "#{phone}", lastname: real_name nickname: real_name)
sync_params = {
email: email,