@ -783,6 +783,7 @@ class ExercisesController < ApplicationController
# 首页批量或单独 立即截止,截止时间为当前时间
def end_exercise
sleep(1)
ActiveRecord::Base.transaction do
begin
check_ids = Exercise.where(id:params[:check_ids])