diff --git a/controllers/article.js b/controllers/article.js index 0172bb9b..078090dc 100644 --- a/controllers/article.js +++ b/controllers/article.js @@ -201,7 +201,7 @@ class Article { ctx.body = { success: true, message: "获取文章成功", - newResult + data: newResult } } @@ -226,7 +226,7 @@ class Article { ctx.body = { success: true, message: "文章修改成功", - result + data: result } }