pre_develop
daiao 6 years ago
parent 528361da6f
commit b1263a1cd0

@ -153,4 +153,10 @@ class CnmoocsService
end
{resouces: shixun_list}
end
# 为新创建的用户随机生成以m为前缀的用户名m表示该用户是用邮箱注册
def generate_login(login_pre)
us = UsersService.new
us.generate_user_login(login_pre)
end
end
Loading…
Cancel
Save