|
...
|
...
|
@@ -22,9 +22,8 @@ class CategoryController extends BaseController |
|
|
|
if(!empty($this->param['title'])){
|
|
|
|
$map[] = ['title', 'like', "%{$this->param['title']}%"];
|
|
|
|
}
|
|
|
|
$sort = ['id' => 'desc', 'pid' => "asc"];
|
|
|
|
|
|
|
|
$data = $logic->getList($map, $sort);
|
|
|
|
$data = $logic->getList($map);
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|