Browse Source

sys config upgrade

abiao 4 years ago
parent
commit
ff61885428
1 changed files with 0 additions and 6 deletions
  1. 0 6
      lib/rails_admin/generate_order_sheet.rb

+ 0 - 6
lib/rails_admin/generate_order_sheet.rb

@@ -23,16 +23,10 @@ module RailsAdmin
                 Proc.new do
                     require 'rest-client'
                     order_sheet = OrderFile.where("id = ? ",@object.id).first
-                    p 123
-                    p 123
-                    p 455
                     n = "生成成功"
                     if not order_sheet.blank?
                         n = "已成功生成"
                         url = "#{CONFIG_FILE["app_host"]}/railsadmin/order/generate_file/#{@object.id}/0"
-                        p url
-                        p url
-                        p url
                         begin
                             ret = RestClient.get url, {} #per_page: 5
                         rescue Exception => e