Commit 299f0125 authored by 陈志良's avatar 陈志良

导出评论

parent 415871c8
......@@ -1223,7 +1223,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
t_time,
t_from,
t_from_openId,
t_from_mid,
t_from_mid.toString(),
contentReplace(thread.content),
thread.comment_count.toString(),
thread.share_count.toString(),
......@@ -1231,7 +1231,7 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
t_praiseNames,
t_praiseOpenIds]);
rows.push(['','','','','','','','','','','']);
rows.push(['楼层','发布时间','openId','会员名','会员编号','内容','点赞数','点赞人','点赞人openId',null,null]);
rows.push(['楼层','发布时间','会员名','openId','会员编号','内容','点赞数','点赞人','点赞人openId',null,null]);
for (var i = items.length - 1; i >= 0; i--) {
var comment = items[i];
var thisFloor = comment.floor || '互动',
......@@ -1256,8 +1256,8 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
var this_row = [
thisFloor + '',
time,
openId,
contentReplace(nickName),
openId,
fromMid.toString(),
content,
praiseCount.toString(),
......@@ -1285,8 +1285,8 @@ router.get('/thread/:tid/exportComments', function(req, res, next) {
var subRow = [
subNickName + ' 回复 ' + subTo,
subTime,
subNickName,
subOpenId,
nickName,
subMid.toString(),
content,
'0',
......
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