[Feature] 修改命令上传api

This commit is contained in:
ibuler
2017-11-29 19:27:04 +08:00
parent 26607bc327
commit 7910292e0f
19 changed files with 281 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ app_name = 'audits'
router = routers.DefaultRouter()
router.register(r'v1/proxy-log', api.ProxyLogViewSet, 'proxy-log')
router.register(r'v1/command-log', api.CommandLogViewSet, 'command-log')
router.register(r'v1/record-log', api.RecordLogViewSet, 'record-log')
router.register(r'v1/replay-log', api.RecordLogViewSet, 'replay-log')
urlpatterns = [
url(r'^v1/proxy-log/receive/$', api.ProxyLogReceiveView.as_view(),