refactor: 修改文章列表筛选

This commit is contained in:
2025-01-13 16:53:13 +08:00
parent 06e51d63f3
commit cf0cfaa270

View File

@@ -12,11 +12,11 @@ class Article
public function index()
{
$param = request()->param([
'title',
'category_id',
'created_at',
'page/d' => 1,
'limit/d' => 10,
'title' => '',
'category_id' => 0,
'created_at' => '',
'page/d' => 1,
'limit/d' => 10,
]);
$article = ArticleModel::withoutField([