|
@@ -174,7 +174,7 @@ class GoodsLogic extends BaseLogic
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function getshopGoods(){
|
|
public function getshopGoods(){
|
|
|
- $goods_cate = GoodsCategory::where(['is_show'=>1])->field('id,name')->order('sort asc')->select()->toArray();
|
|
|
|
|
|
|
+ $goods_cate = GoodsCategory::where(['is_show'=>1,'level'=>1])->field('id,name')->order('sort asc')->select()->toArray();
|
|
|
|
|
|
|
|
foreach($goods_cate as &$v){
|
|
foreach($goods_cate as &$v){
|
|
|
$cate_arr = [];
|
|
$cate_arr = [];
|