feat:兼容开发

main
gzydong 2022-02-16 21:06:57 +08:00
parent ccfe1727b6
commit 7e9bec8a96
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
/**