Commit 08dc1c10 authored by strong's avatar strong

Merge branch 'bugfix_1019_comment_export'

parents 0b98ff16 f1147608
......@@ -1169,7 +1169,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
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);
if(comment.comments.length > 0){
for (var k = 0; k < comment.comments.length; k++) {
......@@ -1187,7 +1187,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
if(sub_comment.to){
to = sub_comment.to.nickName || '游客';
}
var this_row = [nickName + ' 回复 ' + to, time,openId, nickName, content, 0, null,null,null,null];
var this_row = [nickName + ' 回复 ' + to, time,openId, nickName, content, '0', null,null,null,null];
rows.push(this_row);
};
}
......
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