From 804ed52d81aa5ac80ca85b976c6f08071a192bce Mon Sep 17 00:00:00 2001 From: wanghousheng Date: Mon, 15 Jul 2024 20:41:52 +0800 Subject: [PATCH] 1 --- app/api/controller/Article.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/api/controller/Article.php b/app/api/controller/Article.php index 0c8fc9ab..359a7d8b 100644 --- a/app/api/controller/Article.php +++ b/app/api/controller/Article.php @@ -38,6 +38,8 @@ class Article extends Controller $model = new ArticleModel; $title = (string)$this->request->param('title'); $list = $model->getList($categoryId, 15, $title); + + return $this->renderSuccess(compact('list')); }