Showing
1 changed file
with
3 additions
and
3 deletions
@@ -11,8 +11,8 @@ const _ = require('lodash'); | @@ -11,8 +11,8 @@ const _ = require('lodash'); | ||
11 | 11 | ||
12 | 12 | ||
13 | // comment page | 13 | // comment page |
14 | -exports.index = (req, res, next) => { | ||
15 | - /*let uid = req.user.uid; | 14 | +exports.index = (req, res) => { |
15 | + /* let uid = req.user.uid; | ||
16 | let isComment = req.query.isComment; | 16 | let isComment = req.query.isComment; |
17 | let page = req.query.page || 1; | 17 | let page = req.query.page || 1; |
18 | 18 | ||
@@ -37,7 +37,7 @@ exports.index = (req, res, next) => { | @@ -37,7 +37,7 @@ exports.index = (req, res, next) => { | ||
37 | } | 37 | } |
38 | }); | 38 | }); |
39 | 39 | ||
40 | - /*commentModel.getCommentList(uid, isComment, page /!* , limit=10*!/) | 40 | + /* commentModel.getCommentList(uid, isComment, page /!* , limit=10*!/) |
41 | .then(data => { | 41 | .then(data => { |
42 | let localData = _.merge(data, { | 42 | let localData = _.merge(data, { |
43 | module: 'home', | 43 | module: 'home', |
-
Please register or login to post a comment