| 1234567891011121314151617181920 | 
							- # -*- encoding: utf-8 -*-
 
- """
 
- @File    : loocam_url.py
 
- @Time    : 2022/5/20 11:44
 
- @Author  : stephen
 
- @Email   : zhangdongming@asj6.wecom.work
 
- @Software: PyCharm
 
- """
 
- from django.urls import re_path
 
- from Controller.SensorGateway import GatewayFamilyRoomController, SubDeviceController, GatewayFamilyMemberController, \
 
-     EquipmentFamilyController
 
- urlpatterns = [
 
-     re_path(r'^sensor/gateway/(?P<operation>.*)$', EquipmentFamilyController.EquipmentFamilyView.as_view()),
 
-     re_path(r'^gateway/family/room/(?P<operation>.*)$', GatewayFamilyRoomController.GatewayFamilyRoomView.as_view()),
 
-     re_path(r'^gateway/family/member/(?P<operation>.*)$',
 
-             GatewayFamilyMemberController.GatewayFamilyMemberView.as_view()),
 
-     re_path(r'^gateway/subdevice/(?P<operation>.*)$', SubDeviceController.GatewaySubDeviceView.as_view()),
 
- ]
 
 
  |