Skip to content

Commit

Permalink
update get article res data format
Browse files Browse the repository at this point in the history
  • Loading branch information
littlewin-wang committed Sep 3, 2017
1 parent 3d2555e commit 9533226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class Article {
ctx.body = {
success: true,
message: "获取文章成功",
newResult
data: newResult
}
}

Expand All @@ -226,7 +226,7 @@ class Article {
ctx.body = {
success: true,
message: "文章修改成功",
result
data: result
}
}

Expand Down

0 comments on commit 9533226

Please sign in to comment.