浏览代码

增加商品属性定义

abiao 5 年之前
父节点
当前提交
f999bddc25
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/product_attr_config.rb

+ 1 - 1
app/models/product_attr_config.rb

@@ -26,7 +26,7 @@ class ProductAttrConfig < ActiveRecord::Base
         })
 
         list do 
-            filters [:product_id,:attr_key_id]
+            filters [:product_id,:product_attr_key]
             field :id
             field :product_id
             field :showProducts