Explorar o código

product package function develop--order base detail add send

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
47952d7e2d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/models/product_item.rb

+ 1 - 1
app/models/product_item.rb

@@ -27,7 +27,7 @@ class ProductItem < ActiveRecord::Base
       end
     end
     #清空套装缓存
-    url = "#{CONFIG_FILE["api_host"]}railsadmin/clean_cache/package/#{self.product_id}"
+    url = "#{CONFIG_FILE["api_host"]}/railsadmin/clean_cache/package/#{self.product_id}"
     p url
     open(url)
   end