浏览代码

增加复制商品功能

abiao 5 年之前
父节点
当前提交
d7154fbb2e
共有 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