Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sun
Project
Project
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢林臻
sun
Commits
489f919b
Commit
489f919b
authored
Aug 07, 2019
by
王浩
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'haow/dev' into 'test'
fix code See merge request
alpha/sun!291
parents
03669c34
970f0876
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
reply.py
api/reply.py
+1
-1
urls.py
api/urls.py
+1
-0
No files found.
api/reply.py
View file @
489f919b
...
@@ -189,7 +189,7 @@ class ReplyManageBatchUpdate(APIView):
...
@@ -189,7 +189,7 @@ class ReplyManageBatchUpdate(APIView):
}
}
class
ReplyManageMove
(
APIView
):
class
ReplyManage
Batch
Move
(
APIView
):
def
post
(
self
,
request
):
def
post
(
self
,
request
):
ids
=
json
.
loads
(
request
.
POST
.
get
(
'ids'
,
'[]'
))
ids
=
json
.
loads
(
request
.
POST
.
get
(
'ids'
,
'[]'
))
...
...
api/urls.py
View file @
489f919b
...
@@ -223,6 +223,7 @@ urlpatterns = [
...
@@ -223,6 +223,7 @@ urlpatterns = [
url
(
r'^reply/vote$'
,
ReplyVote
.
as_view
()),
url
(
r'^reply/vote$'
,
ReplyVote
.
as_view
()),
# 评论管理
# 评论管理
url
(
r'^reply/manage/batch/move$'
,
ReplyManageBatchMove
.
as_view
()),
url
(
r'^reply/manage/list$'
,
ReplyManageListView
.
as_view
()),
url
(
r'^reply/manage/list$'
,
ReplyManageListView
.
as_view
()),
url
(
r'^reply/manage/create$'
,
ReplyManageCreateView
.
as_view
()),
url
(
r'^reply/manage/create$'
,
ReplyManageCreateView
.
as_view
()),
url
(
r'^reply/manage/batch/update$'
,
ReplyManageBatchUpdate
.
as_view
()),
url
(
r'^reply/manage/batch/update$'
,
ReplyManageBatchUpdate
.
as_view
()),
...
...
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