Преглед на файлове

增加复制商品功能

abiao преди 5 години
родител
ревизия
c7391c65a0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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