This commit is contained in:
yuanke 2016-09-18 13:19:37 +08:00
parent 98aaca3572
commit b783ec5b44
1 changed files with 6 additions and 0 deletions

View File

@ -123,6 +123,12 @@ module Mobile
else
cs = CoursesService.new
status = cs.join_course_roles({role: roles_ids, openid: params[:openid], invite_code: params[:invite_code]}, current_user)
if params[:student_flag] && status[:state] == 0
#查询分班信息
end
{
status: status[:state],
message:CoursesService::JoinCourseError.message(status[:state])