fix cnmooc create user api

pre_develop
p31729568 6 years ago
parent d3e61ab869
commit 7dd479f689

@ -75,6 +75,7 @@ class CnmoocsService
if c_user.present?
return { error: -1, messages: '用户已存在' }
end
c_user = CnmoocUser.new(uuid: params[:userName], name: params[:name])
mail = params[:email] || c_user.generate_email
create_params = {

Loading…
Cancel
Save