Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pisns-forum-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
scrmGroup
pisns-forum-api
Commits
299f0125
Commit
299f0125
authored
Nov 16, 2015
by
陈志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出评论
parent
415871c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
forumThread.js
app/controllers/admin/forumThread.js
+4
-4
No files found.
app/controllers/admin/forumThread.js
View file @
299f0125
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment