|
|
@@ -32,6 +32,7 @@ class GoodsLogic extends BaseLogic
|
|
|
$platform_appid = $params['platform_appid']??0;
|
|
|
$platform_value = 0;
|
|
|
if($type == 'category'){
|
|
|
+ $where[] = ['goods_status','=',1];
|
|
|
$where[] = ['goods_category_id','=',$id];
|
|
|
$where[] = ['user_id','=',0];
|
|
|
$where[] = ['is_agent','=',0];
|