diff --git a/app/libs/wechat/app.rb b/app/libs/wechat/weapp.rb similarity index 100% rename from app/libs/wechat/app.rb rename to app/libs/wechat/weapp.rb diff --git a/app/models/laboratory_setting.rb b/app/models/laboratory_setting.rb index 32848dca2..dc7679514 100644 --- a/app/models/laboratory_setting.rb +++ b/app/models/laboratory_setting.rb @@ -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