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
1
Merge Requests
1
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
alpha
sun
Commits
a950f348
Commit
a950f348
authored
Aug 17, 2019
by
杨成林
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ycl/test_to_master' into 'master'
fix See merge request
!318
parents
32a19c88
c479e602
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
reply.py
api/reply.py
+1
-1
urls.py
api/urls.py
+1
-1
No files found.
api/reply.py
View file @
a950f348
...
...
@@ -213,7 +213,7 @@ class ReplyManageEdit(APIView):
content
=
request
.
POST
.
get
(
'content'
)
try
:
self
.
rpc
[
'venus/sun/reply/
manage/
edit'
](
id_
=
id_
,
data
=
{
'content'
:
content
})
.
unwrap
()
self
.
rpc
[
'venus/sun/reply/edit'
](
id_
=
id_
,
data
=
{
'content'
:
content
})
.
unwrap
()
except
Exception
as
e
:
error_logger
.
error
(
u'平移reply失败
%
s'
%
(
e
))
raise
...
...
api/urls.py
View file @
a950f348
...
...
@@ -228,7 +228,7 @@ urlpatterns = [
url
(
r'^reply/manage/edit$'
,
ReplyManageEdit
.
as_view
()),
url
(
r'^reply/manage/batch/move$'
,
ReplyManageBatchMove
.
as_view
()),
url
(
r'^reply/manage/list$'
,
ReplyManageListView
.
as_view
()),
url
(
r'^reply/manage/create$'
,
Reply
ManageCreateView
.
as_view
()),
url
(
r'^reply/manage/create$'
,
Reply
Create
.
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