好大学api接口

pre_develop
daiao 6 years ago
parent d3e61ab869
commit 40e15f9f1d

@ -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'),

Loading…
Cancel
Save