From b1a735c1ecd5f37924b8fc41bc6a732fa146fa4f Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 13 Nov 2019 11:56:11 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/managements_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 2b73e7cc..e83993c4 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -4389,7 +4389,7 @@ end user_agents = UserAgent.where("user_agents.key is not null").pluck(:key).uniq user_agents.each_with_index do |agent, index| user = User.find_by_login(agent) - logger.info("###########user:#{agent}") if user.blank? + next if user.blank? # 代理用户 agents = UserAgent.where(key: agent) agents_count = agents.count