rake更新用户邮箱和手机号

This commit is contained in:
“xxq250” 2022-09-23 10:33:00 +08:00
parent 72b753d11d
commit aa8a08e272
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}", lastname: real_name nickname: real_name)
user.update_columns(mail: "#{email}", phone: "#{phone}", lastname: real_name, nickname: real_name)
sync_params = {
email: email,