ソースを参照

增加复制商品功能

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