mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
rake更新用户邮箱和手机号
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user