Explorar o código

增加商品属性定义

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
2399948db6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/models/product_attr_config.rb

+ 1 - 1
app/models/product_attr_config.rb

@@ -29,7 +29,7 @@ class ProductAttrConfig < ActiveRecord::Base
             filters [:product_id,:product_attr_key]
             field :id
             field :product_id
-            field :showProducts
+            field :show_products
             field :product_attr_key
             field :size_type
         end