Commit d5d8a76d authored by 陈志良's avatar 陈志良

修改转码出错

parent a61352d0
...@@ -1087,7 +1087,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) { ...@@ -1087,7 +1087,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
thread:tid, thread:tid,
type:2, type:2,
comment:e._id comment:e._id
} }d
forumPraiseLogService.queryPraiseLogV2(conditions, function(err, results){ forumPraiseLogService.queryPraiseLogV2(conditions, function(err, results){
if(err){ if(err){
cb(null, e); cb(null, e);
...@@ -1169,7 +1169,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) { ...@@ -1169,7 +1169,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
nickName = comment.from.nickName || '游客'; nickName = comment.from.nickName || '游客';
} }
var this_row = [floor + '', time,openId, nickName, encode(content,'utf-8'), praiseCount.toString(), praiseNames,praiseOpenIds,null,null]; var this_row = [floor + '', time,openId, nickName, content, praiseCount.toString(), praiseNames,praiseOpenIds,null,null];
rows.push(this_row); rows.push(this_row);
if(comment.comments.length > 0){ if(comment.comments.length > 0){
for (var k = 0; k < comment.comments.length; k++) { for (var k = 0; k < comment.comments.length; k++) {
......
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