|
|
@ -77,8 +77,9 @@ class CnmoocsService
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
mail = params[:email] || c_user.generate_email
|
|
|
|
mail = params[:email] || c_user.generate_email
|
|
|
|
|
|
|
|
name = params[:name] || "好大学_#{params[:userName]}"
|
|
|
|
create_params = {
|
|
|
|
create_params = {
|
|
|
|
lastname: params[:name],
|
|
|
|
lastname: name,
|
|
|
|
mail: mail,
|
|
|
|
mail: mail,
|
|
|
|
mail_notification: mail,
|
|
|
|
mail_notification: mail,
|
|
|
|
login: generate_login('m'),
|
|
|
|
login: generate_login('m'),
|
|
|
|