Sfoglia il codice sorgente

商品增加销量字段

abiao 5 anni fa
parent
commit
7830f85f46
1 ha cambiato i file con 7 aggiunte e 7 eliminazioni
  1. 7 7
      app/models/product.rb

+ 7 - 7
app/models/product.rb

@@ -129,8 +129,8 @@ class Product < ActiveRecord::Base
             filters [:id,:detail,:status,:name]
 
             field :id
-            field :merchant_id
-            field :merchant
+            #field :merchant_id
+            #field :merchant
             field :name do
                 filterable true
             end
@@ -148,10 +148,10 @@ class Product < ActiveRecord::Base
                     value.to_f / 100
                 end
             end
-            field :robo_balance_price
+            #field :robo_balance_price
             field :user_sale_price
-            field :buy_price
-            field :gross_interest_rate
+            #field :buy_price
+            #field :gross_interest_rate
             field :count
             field :recommend
             field :status
@@ -172,8 +172,8 @@ class Product < ActiveRecord::Base
                     value.to_f / 100
                 end
             end
-            field :is_only_new
-            field :video_state
+            #field :is_only_new
+            #ield :video_state
             field :size_name
             field :color_name
             field :relate_product_id