...
|
...
|
@@ -62,6 +62,12 @@ class ListController extends HomeBaseController |
|
|
|
|
|
if($path[1] == 12){
|
|
|
|
|
|
$jdata[] = Db::name('portal_category') -> where('id',$path[2]) -> find();
|
|
|
|
|
|
$jdata[0]['son'] = Db::name('portal_category') -> where('parent_id',$path[2]) -> select();
|
|
|
|
|
|
dump($jdata);die;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
@@ -71,4 +77,8 @@ class ListController extends HomeBaseController |
|
|
return $this->fetch('/' . $listTpl);
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|