refactor: 修改文章列表筛选
This commit is contained in:
@@ -12,11 +12,11 @@ class Article
|
|||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$param = request()->param([
|
$param = request()->param([
|
||||||
'title',
|
'title' => '',
|
||||||
'category_id',
|
'category_id' => 0,
|
||||||
'created_at',
|
'created_at' => '',
|
||||||
'page/d' => 1,
|
'page/d' => 1,
|
||||||
'limit/d' => 10,
|
'limit/d' => 10,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$article = ArticleModel::withoutField([
|
$article = ArticleModel::withoutField([
|
||||||
|
|||||||
Reference in New Issue
Block a user