From 7e9bec8a965c3340a20ee74dd6fa5a7562021910 Mon Sep 17 00:00:00 2001 From: gzydong <837215079@qq.com> Date: Wed, 16 Feb 2022 21:06:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=85=BC=E5=AE=B9=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/Api/V1/Article/ArticleController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/Api/V1/Article/ArticleController.php b/app/Controller/Api/V1/Article/ArticleController.php index af3ab76..1306cb8 100644 --- a/app/Controller/Api/V1/Article/ArticleController.php +++ b/app/Controller/Api/V1/Article/ArticleController.php @@ -34,7 +34,7 @@ class ArticleController extends CController $this->articleService = $service; } - + /** * 获取笔记列表 * @@ -113,7 +113,7 @@ class ArticleController extends CController 'content' => htmlspecialchars($params['content']) ]); - return $id ? $this->response->success(['aid' => $id], '笔记编辑成功...') : $this->response->fail(); + return $id ? $this->response->success(['id' => $id], '笔记编辑成功...') : $this->response->fail(); } /**