diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index d04b4f23..2b73e7cc 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -4389,6 +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? # 代理用户 agents = UserAgent.where(key: agent) agents_count = agents.count