diff --git a/api/controllers/wxapp/content/Subject.php b/api/controllers/wxapp/content/Subject.php index cf518a60..35a0f6a0 100644 --- a/api/controllers/wxapp/content/Subject.php +++ b/api/controllers/wxapp/content/Subject.php @@ -219,6 +219,11 @@ class Subject extends Wxapp{ $where = array('app_id' => $this->app_id, 'status' => self::STATUS_NOR); + $publish = $this->app_config('publish'); + if($publish){ //审核过滤视频 + $where['type!='] = 1; + } + $lists = $rows = array(); $total = $this->subjects_model->count($where); if($total){