diff --git a/app/services/cnmoocs_service.rb b/app/services/cnmoocs_service.rb index ba4271e4..6740a706 100644 --- a/app/services/cnmoocs_service.rb +++ b/app/services/cnmoocs_service.rb @@ -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'),