...
|
...
|
@@ -11,8 +11,8 @@ const _ = require('lodash'); |
|
|
|
|
|
|
|
|
// comment page
|
|
|
exports.index = (req, res, next) => {
|
|
|
/*let uid = req.user.uid;
|
|
|
exports.index = (req, res) => {
|
|
|
/* let uid = req.user.uid;
|
|
|
let isComment = req.query.isComment;
|
|
|
let page = req.query.page || 1;
|
|
|
|
...
|
...
|
@@ -37,7 +37,7 @@ exports.index = (req, res, next) => { |
|
|
}
|
|
|
});
|
|
|
|
|
|
/*commentModel.getCommentList(uid, isComment, page /!* , limit=10*!/)
|
|
|
/* commentModel.getCommentList(uid, isComment, page /!* , limit=10*!/)
|
|
|
.then(data => {
|
|
|
let localData = _.merge(data, {
|
|
|
module: 'home',
|
...
|
...
|
|