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
b088abfe
Commit
b088abfe
authored
May 31, 2016
by
刘文胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量删除屏蔽评论 ,查询结果
parent
7c887285
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
forumThreadManagement.js
app/controllers/admin/forumThreadManagement.js
+8
-8
No files found.
app/controllers/admin/forumThreadManagement.js
View file @
b088abfe
...
...
@@ -946,10 +946,10 @@ router.get('/threadManagement/threads/:tid/comment/search', function(req, res, n
//删除帖子的评论(查询结果)
router
.
post
(
'/threadManagement/threads/:tid/comment/search/deleteAll'
,
function
(
req
,
res
,
next
)
{
var
tid
=
req
.
params
.
tid
||
null
,
mid
=
req
.
quer
y
.
mid
,
floor_start
=
req
.
quer
y
.
floor_start
,
floor_end
=
req
.
quer
y
.
floor_end
,
content
=
req
.
quer
y
.
content
||
''
;
mid
=
req
.
bod
y
.
mid
,
floor_start
=
req
.
bod
y
.
floor_start
,
floor_end
=
req
.
bod
y
.
floor_end
,
content
=
req
.
bod
y
.
content
||
''
;
var
ent_code
=
req
.
session
.
user
.
ent_code
;
var
status
=
2
;
//删除状态为2
var
conditions
=
{
...
...
@@ -1036,10 +1036,10 @@ router.post('/threadManagement/threads/:tid/comment/search/deleteAll', function(
//屏蔽帖子的评论(查询结果)
router
.
post
(
'/threadManagement/threads/:tid/comment/search/closeAll'
,
function
(
req
,
res
,
next
)
{
var
tid
=
req
.
params
.
tid
||
null
,
mid
=
req
.
quer
y
.
mid
,
floor_start
=
req
.
quer
y
.
floor_start
,
floor_end
=
req
.
quer
y
.
floor_end
,
content
=
req
.
quer
y
.
content
||
''
;
mid
=
req
.
bod
y
.
mid
,
floor_start
=
req
.
bod
y
.
floor_start
,
floor_end
=
req
.
bod
y
.
floor_end
,
content
=
req
.
bod
y
.
content
||
''
;
var
ent_code
=
req
.
session
.
user
.
ent_code
;
var
status
=
0
;
//屏蔽的状态为0
var
conditions
=
{
...
...
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