延时1分钟

dev_ec
SylorHuang 5 years ago
parent 279ae90930
commit a2377ab13a

@ -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])

Loading…
Cancel
Save