abiao преди 4 години
родител
ревизия
01003cdff0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/rails_admin/generate_user_perfomance.rb

+ 1 - 1
lib/rails_admin/generate_user_perfomance.rb

@@ -26,7 +26,7 @@ module RailsAdmin
                     n = "统计成功"
                     if not user_perfomance.blank?
                         n = "已成功统计"
-                        url = "#{CONFIG_FILE["api_host"]}/railsadmin/user/perfomance/#{@object.id}"
+                        url = "#{CONFIG_FILE["app_host"]}/railsadmin/user/perfomance/#{@object.id}"
                         begin
                             ret = RestClient.get url, {} #per_page: 5
                         rescue Exception => e