Explorar o código

product package function develop--order base detail add send

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
38e1bfce05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/rails_admin/generate_order_static.rb

+ 1 - 1
lib/rails_admin/generate_order_static.rb

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