소스 검색

product package function develop--order base detail add send

abiao 4 년 전
부모
커밋
38e1bfce05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = "统计成功"
                     if not order_static.blank?
                         n = "已成功统计"
-                        url = "#{CONFIG_FILE["api_host"]}/railsadmin/order/static/#{@object.id}"
+                        url = "#{CONFIG_FILE["app_host"]}/railsadmin/order/static/#{@object.id}"
                         begin
                             ret = RestClient.get url, {} #per_page: 5
                         rescue Exception => e