...
|
...
|
@@ -83,7 +83,7 @@ class SeriesController extends RestBaseController |
|
|
//查找二级分类
|
|
|
$type = CommonController::selectData('type',['pid'=>$parent_id],'id');
|
|
|
$children_ids = array_column($type,'id');
|
|
|
$limit = CommonController::limit;
|
|
|
$limit = CommonController::series_limit;
|
|
|
$res = Db::name('series')
|
|
|
->whereIn('t_id',$children_ids);
|
|
|
$data = $res->field($field_series)
|
...
|
...
|
@@ -130,7 +130,7 @@ class SeriesController extends RestBaseController |
|
|
//中文
|
|
|
$field_series = 'id,thumbnail,title';
|
|
|
}
|
|
|
$limit = CommonController::limit;
|
|
|
$limit = CommonController::series_limit;
|
|
|
$res = Db::name('series')
|
|
|
->where(['t_id'=>$children_id]);
|
|
|
$data = $res->field($field_series)
|
...
|
...
|
|