chromesetting
daiao 5 years ago
parent e70c095273
commit 562a1fd49a

@ -407,7 +407,7 @@ class ShixunsController < ApplicationController
service_update_params&.map do |service| service_update_params&.map do |service|
smr = @shixun.shixun_service_configs.find_by(mirror_repository_id: service[:mirror_repository_id]) smr = @shixun.shixun_service_configs.find_by(mirror_repository_id: service[:mirror_repository_id])
logger.info("########smr: #{smr}") logger.info("########smr: #{smr}")
smr.update_attributes(service) if smr.present? smr.update_attributes(service)
end end
# 添加第二仓库(管理员权限) # 添加第二仓库(管理员权限)
if params[:is_secret_repository] if params[:is_secret_repository]

Loading…
Cancel
Save