作者 耿培杰

修改接口

@@ -326,7 +326,7 @@ class Goods extends Api @@ -326,7 +326,7 @@ class Goods extends Api
326 $goodsWhere['g.ch_name|g.en_name|g.ch_content|g.en_content'] = ['like','%'.$params['keyword'].'%']; 326 $goodsWhere['g.ch_name|g.en_name|g.ch_content|g.en_content'] = ['like','%'.$params['keyword'].'%'];
327 327
328 //获取筛选标签,国家,品牌,等级,部位,品类 328 //获取筛选标签,国家,品牌,等级,部位,品类
329 - $data = $this->categoryModel->getExtend($where,$this->lang); 329 + $data['extend'] = $this->categoryModel->getExtend($where,$this->lang);
330 //获取列表数据 330 //获取列表数据
331 $data['list'] = $this->goodsModel->selectPageData($goodsWhere,$page,$limit,$this->lang); 331 $data['list'] = $this->goodsModel->selectPageData($goodsWhere,$page,$limit,$this->lang);
332 332