Explorar o código

add user token

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
01003cdff0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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