去除北京只是

dev_bj
daiao 6 years ago
parent 38b64a41d4
commit f0ff7c8b67

@ -55,7 +55,7 @@ class Shixun < ActiveRecord::Base
has_many :shixun_service_configs, :dependent => :destroy
scope :visible, lambda{where(status: [2,3])}
scope :min, lambda { select([:id, :name, :gpid, :modify_time, :reset_time, :language, :propaedeutics, :status, :identifier,
scope :min, lambda { select([:id, :name, :gpid, :modify_time, :reset_time, :language, :status, :identifier,
:test_set_permission, :hide_code, :forbid_copy, :hidden, :webssh, :user_id, :code_hidden,
:task_pass, :exec_time, :multi_webssh, :vnc]) }
scope :published, lambda{where(status: 2)}

Loading…
Cancel
Save