|
|
|
@ -34,7 +34,7 @@ class LaboratorySetting < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
def logo_url(type)
|
|
|
|
|
return nil unless Util::FileManage.exists?(self, type)
|
|
|
|
|
Util::FileManage.source_disk_file_url(self, type)
|
|
|
|
|
Util::FileManage.source_disk_file_url(self, type)[1..-1] # 前端不兼容带 / 的
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def self.default_config
|
|
|
|
|