@ -129,7 +129,7 @@ class Shixun < ApplicationRecord
end
def main_mirror_id
mirror_repositories.published_main_mirror.first.try(:id) || -1
mirror_repositories.where(main_type: 1).first.try(:id) || -1
# 实训对应的镜像小类别名(已选)