...
|
...
|
@@ -44,7 +44,7 @@ class NewController extends HomeBaseController{ |
|
|
foreach ($ids as $key => $value) {
|
|
|
$arr[] = $value['post_id'];
|
|
|
}
|
|
|
$data = Db::name('portal_post') -> where('id','in',$arr) -> order('create_time desc') -> paginate(3);
|
|
|
$data = Db::name('portal_post') -> where('id','in',$arr) -> where('delete_time',0) -> order('create_time desc') -> paginate(3);
|
|
|
$this->assign('page', $data->render());
|
|
|
|
|
|
$this -> assign('data',$data);
|
...
|
...
|
|