|
|
@ -80,7 +80,7 @@ class Article extends ArticleModel |
|
|
|
* @return \think\Paginator |
|
|
|
* @return \think\Paginator |
|
|
|
* @throws \think\db\exception\DbException |
|
|
|
* @throws \think\db\exception\DbException |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function getList(int $categoryId = 0, int $limit = 15, string $title): \think\Paginator |
|
|
|
public function getList(int $categoryId = 0, int $limit = 15, string $title = ''): \think\Paginator |
|
|
|
{ |
|
|
|
{ |
|
|
|
// 检索查询条件 |
|
|
|
// 检索查询条件 |
|
|
|
$filter = []; |
|
|
|
$filter = []; |
|
|
|