Explorar el Código

add orders list file

abiao hace 4 años
padre
commit
055e9a56be
Se han modificado 1 ficheros con 1 adiciones y 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