@@ -126,6 +126,11 @@ class GoodsService extends BaseService
$where['zone_type'] = $params['zone_type'];
}
+ // 商品类型
+ if (isset($params['type']) && $params['type'] > 0) {
+ $where['type'] = $params['type'];
+ }
+
// 分类筛选
$categoryId = isset($params['category_id']) ? intval($params['category_id']) : 0;
if ($categoryId > 0) {