抄袭者不存在的情况

dev_hjm
daiao 6 years ago
parent 846be14bc0
commit 3df693cdf6

@ -1478,10 +1478,6 @@ class HomeworkCommonsController < ApplicationController
code_list << {path: path, origin_content: info.origin_content, target_content: info.target_content} code_list << {path: path, origin_content: info.origin_content, target_content: info.target_content}
end end
end end
# TODO: 这里本来应该前端做的,但是现在页面已经刷不开了。
copy_user_id = copy_user ? copy_user.id : "--"
copy_username = copy_user ? copy_user.full_name : "--"
copy_end_time = copy_end_time ? copy_end_time : "--"
{code_rate: code_rate, copy_user_id: copy_user_id, end_time: end_time, final_score: final_score, {code_rate: code_rate, copy_user_id: copy_user_id, end_time: end_time, final_score: final_score,
all_score: all_score, copy_end_time: copy_end_time, copy_username: copy_username, all_score: all_score, copy_end_time: copy_end_time, copy_username: copy_username,
username: game.user.full_name, code_list: code_list, subject: challenge.subject, position: challenge.position, username: game.user.full_name, code_list: code_list, subject: challenge.subject, position: challenge.position,

Loading…
Cancel
Save