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
4bfd5938
Commit
4bfd5938
authored
Aug 07, 2019
by
haowang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code
parent
dedc177b
Hide 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 @
4bfd5938
...
@@ -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 @
4bfd5938
...
@@ -225,6 +225,7 @@ urlpatterns = [
...
@@ -225,6 +225,7 @@ urlpatterns = [
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
()),
url
(
r'^reply/manage/batch/move$'
,
ReplyManageBatchMove
.
as_view
()),
]
]
search_urlpatterns
=
[
search_urlpatterns
=
[
...
...
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