This commit is contained in:
parent
98aaca3572
commit
b783ec5b44
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue