Parcourir la source

增加复制商品功能

abiao il y a 5 ans
Parent
commit
d7154fbb2e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/models/product.rb

+ 1 - 1
app/models/product.rb

@@ -7,7 +7,7 @@ class Product < ActiveRecord::Base
     attr_accessor :v_share_img,:get_size_enum,:gross_interest_rate
     after_find :get_size_enum
     after_create :after_create
-    after_update :after_update
+    #after_update :after_update
     def after_create
         #主商品默认关联商品
         if self.show_flag