Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_daiao
杨树林 5 years ago
commit 78d5b8dcbc

@ -38,8 +38,10 @@ class CreateDiffRecordService < ApplicationService
end end
content += arr.join('') if arr.present? content += arr.join('') if arr.present?
Rails.logger.info("diff_line_arr:#{arr.join('')}")
content += line content += line
arr.clear arr.clear
Rails.logger.info("diff_line:#{line}")
end end
content content
end end

@ -15,6 +15,7 @@ json.shixuns_list do
json.shixun_name shixun.name json.shixun_name shixun.name
json.shixun_hidden shixun.hidden json.shixun_hidden shixun.hidden
json.identifier shixun.identifier json.identifier shixun.identifier
json.challenges_count shixun.challenges_count
json.complete_status stage_myshixun_status(myshixuns.select{|ms| ms.shixun_id == shixun.id}.first) json.complete_status stage_myshixun_status(myshixuns.select{|ms| ms.shixun_id == shixun.id}.first)
json.shixun_status stage_shixun_status(subject.status, shixun.status, shixun.hidden) json.shixun_status stage_shixun_status(subject.status, shixun.status, shixun.hidden)
end end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Loading…
Cancel
Save