abiao лет назад: 4
Родитель
Сommit
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