瀏覽代碼

add user token

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