|
|
|
@ -80,6 +80,7 @@ class CnmoocsService
|
|
|
|
|
mail = params[:email] || c_user.generate_email
|
|
|
|
|
name = params[:name] || "好大学_#{params[:userName]}"
|
|
|
|
|
login = generate_login('m')
|
|
|
|
|
Rails.logger.info("#######mail: #{mail}, #{name}, #{login}")
|
|
|
|
|
create_params = {
|
|
|
|
|
lastname: name,
|
|
|
|
|
mail: mail,
|
|
|
|
|