# update device, log statistic api url

This commit is contained in:
xianfuxing 2018-08-09 18:17:13 +08:00
parent 5caa3442e9
commit bede31d479
1 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ app_name = 'counter-api'
urlpatterns = [
path('logs/', DeviceLogListAPIView.as_view(), name='logs'),
path('device/', DeviceInfoListAPIView.as_view(), name='device'),
path('logs/statistic', DeviceLogStatisticAPIView.as_view(), name='logs-statistic'),
path('device/statistic', DeviceInfoStatisticAPIView.as_view(), name='device-statistic'),
path('logs/statistic/', DeviceLogStatisticAPIView.as_view(), name='logs-statistic'),
path('device/statistic/', DeviceInfoStatisticAPIView.as_view(), name='device-statistic'),
]