Commit 502be8a7 authored by 刘文胜's avatar 刘文胜

1111

parent 8aa1e3d3
...@@ -422,7 +422,8 @@ router.get('/info/myComments', function(req, res, next) { ...@@ -422,7 +422,8 @@ router.get('/info/myComments', function(req, res, next) {
var conditions = { var conditions = {
ent_code: req.session.user.ent_code, ent_code: req.session.user.ent_code,
status:1, status:1,
$or:[{from: id},{to: id}] //$or:[{from: id},{to: id}]
to: id
}; };
forumCommentService.getMyComment(conditions, pageNo, pageSize, function(err, results) { forumCommentService.getMyComment(conditions, pageNo, pageSize, function(err, results) {
if (err) { if (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment