Commit 4bfd5938 authored by haowang's avatar haowang

fix code

parent dedc177b
...@@ -189,7 +189,7 @@ class ReplyManageBatchUpdate(APIView): ...@@ -189,7 +189,7 @@ class ReplyManageBatchUpdate(APIView):
} }
class ReplyManageMove(APIView): class ReplyManageBatchMove(APIView):
def post(self, request): def post(self, request):
ids = json.loads(request.POST.get('ids', '[]')) ids = json.loads(request.POST.get('ids', '[]'))
......
...@@ -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 = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment