|
|
@ -546,7 +546,8 @@ class ShixunsController < ApplicationController
|
|
|
|
:open_time => Time.now, :identifier => game_identifier, :modify_time => challenge.modify_time)
|
|
|
|
:open_time => Time.now, :identifier => game_identifier, :modify_time => challenge.modify_time)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
# REDO:开启实训时更新关联作品的状态-> TODO:这个可以异步。
|
|
|
|
# REDO:开启实训时更新关联作品的状态
|
|
|
|
|
|
|
|
# TODO:这个可以异步。或者放到课程里面取,不要在开启实训这边做
|
|
|
|
HomeworksService.new.update_myshixun_work_status myshixun
|
|
|
|
HomeworksService.new.update_myshixun_work_status myshixun
|
|
|
|
|
|
|
|
|
|
|
|
@current_task = myshixun.current_task
|
|
|
|
@current_task = myshixun.current_task
|
|
|
|