|
|
|
@ -75,7 +75,8 @@ class GamesService
|
|
|
|
|
:challenge => game_challenge.try(:attributes), :game => game.try(:attributes), :shixun => shixun.try(:attributes),
|
|
|
|
|
:record => record, :grade => grade, :prev_game => prev_game, :next_game => next_game, :username => username,
|
|
|
|
|
:image_url => image_url, :user_url => user_url, :praise_count => praise_count, :user_praise => user_praise, :time_limit => time_limit,
|
|
|
|
|
:tomcat_url => Redmine::Configuration['tomcat_php'], :is_teacher => is_teacher, :power => power, :myshixun_manager => myshixun_manager}
|
|
|
|
|
:tomcat_url => Redmine::Configuration['tomcat_php'], :is_teacher => is_teacher, :power => power, :myshixun_manager => myshixun_manager,
|
|
|
|
|
:vnc => shixun.vnc}
|
|
|
|
|
|
|
|
|
|
# 区分选择题和编程题,st:0编程题;
|
|
|
|
|
if st == 0
|
|
|
|
|