mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
添加laboratory_setting_id_index
This commit is contained in:
@@ -15,16 +15,7 @@ class Admins::SaveLaboratorySettingService < ApplicationService
|
||||
laboratory_setting.footer = strip params[:footer]
|
||||
|
||||
laboratory.save!
|
||||
|
||||
begin
|
||||
unless laboratory_setting.save!
|
||||
Rails.logger.info("######__ddddd________#######{laboratory_setting.errors.messages}")
|
||||
end
|
||||
rescue => e
|
||||
Rails.logger.info("######__________#######{e}")
|
||||
end
|
||||
|
||||
|
||||
laboratory_setting.save!
|
||||
|
||||
deal_image_file
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user