Explorar el Código

add recharge product to order

abiao hace 4 años
padre
commit
94dfb5ee3a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/models/order.rb

+ 1 - 1
app/models/order.rb

@@ -37,7 +37,7 @@ class Order < ActiveRecord::Base
     def patch_send_product
         if  self.status=="processing"
             #发放未发放赠品
-            url = "#{CONFIG_FILE["api_host"]}/railsadmin/live/award/#{self.id}"
+            url = "#{CONFIG_FILE["api_host"]}/railsadmin/recharge/award/#{self.id}"
             p url
             open(url)
         end