|
@@ -28,20 +28,20 @@ urlpatterns = [
|
|
|
path('oa2/token', index.oa2TokenView.as_view()),
|
|
|
path('oa2/rtspStart', index.oa2RtspStartView.as_view()),
|
|
|
path('oa2/discoverydevice', index.oa2DiscoveryDevice.as_view()),
|
|
|
- #新增停流
|
|
|
+ # 新增停流
|
|
|
path('oa2/stoprtsp', index.testRunSendStop),
|
|
|
- #新增设备推流测试
|
|
|
+ # 新增设备推流测试
|
|
|
path('oa2/runstream', index.testRunStream),
|
|
|
- #测试服务器是否正常接口
|
|
|
+ # 测试服务器是否正常接口
|
|
|
path('oa2/test', index.test),
|
|
|
- #负载均衡接口test(后期可删)
|
|
|
+ # 负载均衡接口test(后期可删)
|
|
|
path('oa2/loadserver', index.loadBalancingServer),
|
|
|
- #查询存储alexa连接数
|
|
|
- path('distribution/select', distribution.selectConnectNum.as_view()), #查询连接数并返回url
|
|
|
- path('distribution/storage', distribution.storageConnectNum.as_view()), #存储连接数
|
|
|
+ # 查询存储alexa连接数
|
|
|
+ path('distribution/select', distribution.selectConnectNum.as_view()), # 查询连接数并返回url
|
|
|
+ path('distribution/storage', distribution.storageConnectNum.as_view()), # 存储连接数
|
|
|
path('oa2/powerController', index.powerController.as_view()), # 唤醒/休眠设备
|
|
|
|
|
|
- #跟设备状态到alexa网关.
|
|
|
+ # 更新设备状态到alexa网关.
|
|
|
url(r'^deviceStatus/(?P<operation>.*)$', deviceStatus.deviceStatus.as_view()),
|
|
|
|
|
|
]
|