datasystem_url.py 971 B

123456789101112131415161718192021
  1. # -*- encoding: utf-8 -*-
  2. """
  3. @File : datasysytem_url.py
  4. @Time : 2022/8/16 10:38
  5. @Author : peng
  6. @Email : zhangdongming@asj6.wecom.work
  7. @Software: PyCharm
  8. """
  9. from django.urls import re_path
  10. from AdminController.dataSystemManagement import UserDataController, DeviceDataController, ServiceDataController, \
  11. BusinessDataController, HomeDataController, UnicomDataController
  12. urlpatterns = [
  13. re_path(r'^userData/(?P<operation>.*)$', UserDataController.UserDataView.as_view()),
  14. re_path(r'^deviceData/(?P<operation>.*)$', DeviceDataController.DeviceDataView.as_view()),
  15. re_path(r'^serviceData/(?P<operation>.*)$', ServiceDataController.ServiceDataView.as_view()),
  16. re_path(r'^businessData/(?P<operation>.*)$', BusinessDataController.BusinessDataView.as_view()),
  17. re_path(r'^homeData/(?P<operation>.*)$', HomeDataController.HomeDataView.as_view()),
  18. re_path(r'^unicomData/(?P<operation>.*)$', UnicomDataController.UnicomDataView.as_view()),
  19. ]