试卷调整

dev_cxt2
cxt 5 years ago
parent be0dabc7ec
commit 42f1bb6353

@ -1116,6 +1116,7 @@ class ExercisesController < ApplicationController
# 学生提交试卷
def commit_exercise
tip_exception(-1, "试卷已提交") if @answer_committed_user.commit_status == 1
ActiveRecord::Base.transaction do
begin
can_commit_exercise = false

Loading…
Cancel
Save