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