edit-api-hidden-video
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user