refactor: 修改文章列表筛选
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user