微信和web端实践课程首页展示内容有误

schedule_job
daiao 5 years ago
parent 7eb1f03034
commit 6936f05778

@ -12,9 +12,9 @@ class Weapps::SubjectQuery < ApplicationQuery
Rails.logger.info("##### @device: #{@device}")
subjects =
if @device == "wechat"
@current_laboratory.subjects.unhidden.publiced
else
@current_laboratory.subjects.unhidden.publiced.show_moblied
else
@current_laboratory.subjects.unhidden.publiced
end
# 课程体系的过滤

Loading…
Cancel
Save