pull/1/head
wanghousheng 10 months ago
parent a8ec1016fb
commit 9902f03a5d
  1. 2
      app/api/controller/Article.php

@ -36,7 +36,7 @@ class Article extends Controller
public function list(int $categoryId = 0): Json
{
$model = new ArticleModel;
$title = (string)$this->request->input('title');
$title = (string)$this->request->get('title');
$list = $model->getList($categoryId, 15, $title);
return $this->renderSuccess(compact('list'));
}

Loading…
Cancel
Save