ex_user_info = exercise_use_info(exercise_user,user_status,exercise) json.user_id ex_user_info[:user_id] json.user_name ex_user_info[:user_name] json.login ex_user_info[:login] json.user_group_id ex_user_info[:user_group_id] json.user_group_name ex_user_info[:user_group_name] json.student_id ex_user_info[:student_id] json.commit_status ex_user_info[:commit_status] json.end_at ex_user_info[:end_at] if subjective_type == 1 json.objective_score ex_user_info[:ex_object_score] json.subjective_score ex_user_info[:ex_subject_score] end json.score ex_user_info[:score] json.review_status ex_user_info[:teacher_review] #教师是否评阅,评阅则为true,否则为false