...
|
...
|
@@ -196,7 +196,7 @@ let cancelPraise = (req, res, next) => { |
|
|
let addComment = (req, res, next) => {
|
|
|
let uid = req.user.uid;
|
|
|
let id = req.body.id;
|
|
|
let content = req.body.content;
|
|
|
let content = req.body.comment;
|
|
|
|
|
|
editorialModel.addComment(id, uid, content).then((result) => {
|
|
|
res.json(result);
|
...
|
...
|
|