开启实训报500

dev_forum
daiao 6 years ago
parent 4b71fc1576
commit a78759f8af

@ -52,7 +52,7 @@ class GamesController < ApplicationController
record_onsume_time = EvaluateRecord.where(game_id: @game.id).first.try(:consume_time) record_onsume_time = EvaluateRecord.where(game_id: @game.id).first.try(:consume_time)
# myshixun_manager判断用户是否有权限查看隐藏测试集(TPM管理员平台认证的老师花费金币查看者) # myshixun_manager判断用户是否有权限查看隐藏测试集(TPM管理员平台认证的老师花费金币查看者)
myshixun_manager = @identity < USER::EDU_GAME_MANAGER myshixun_manager = @identity < User::EDU_GAME_MANAGER
# 选择题和编程题公共部分 # 选择题和编程题公共部分
@base_date = {st: @st, discusses_count: discusses_count, game_count: game_count, myshixun: @myshixun, @base_date = {st: @st, discusses_count: discusses_count, game_count: game_count, myshixun: @myshixun,

Loading…
Cancel
Save