Explorar o código

add orders list file

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

+ 1 - 1
lib/rails_admin/generate_order_sheet.rb

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