urls.py 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. from django.contrib import admin
  2. from django.urls import include
  3. from django.urls import re_path
  4. from AdminController import UserManageController, RoleController, MenuController, TestServeController, \
  5. ServeManagementController, LogManagementController, DeviceManagementController, VersionManagementController, \
  6. AiServeController, SurveysManageController, SerialManageController, IcloudManagementController
  7. from Controller import FeedBack, EquipmentOTA, EquipmentInfo, AdminManage, AppInfo, \
  8. Test, MealManage, DeviceManage, EquipmentStatus, SysManage, DeviceLog, LogAccess, \
  9. AppColophon, DateController, \
  10. EquipmentManager, LogManager, PermissionManager, OTAEquipment, shareUserPermission, UidSetController, \
  11. UserManger, CheckUserData, \
  12. UserController, CloudVod, OrderContrller, VodBucket, DetectController, DeviceShare, UserBrandController, \
  13. StsOssController, UIDPreview, OssCrd, SysMsg, UidUser, EquipmentManagerV2, EquipmentManagerV3, PushDeploy, \
  14. AppSetController, \
  15. ApplicationController, UserExController, CloudStorage, TestApi, UserBrandControllerV2, \
  16. StatisticsController, Alexa, FAQController, AppLogController, EquipmentVersionLimit, VoicePromptController, \
  17. CDKController, \
  18. DeviceTypeController, CloudTransfer, Cloudsum, IotCoreController, OperatingLogs, ProcessInfo, \
  19. RegionCountryController, \
  20. VerifyCodeController, FileController, UIDController, LogController, SalesController, \
  21. OrderTaskController, HistoryUIDController, UIDManageUserController, SerialNumberController, CompanyController, \
  22. RegionController, VPGController, LanguageController, TestController, DeviceConfirmRegion, S3GetStsController, \
  23. DetectControllerV2, PcInfo, PctestController, DeviceDebug, PaymentCycle, \
  24. DeviceLogController, CouponController, AiController, ShadowController, AppAccountManagement, InitController
  25. from Controller.Cron import CronTaskController
  26. from Controller.MessagePush import EquipmentMessagePush
  27. from Controller.SensorGateway import SensorGatewayController, EquipmentFamilyController
  28. from Controller.Surveys import CloudStorageController
  29. from Controller.UserDevice import UserDeviceShareController
  30. from Controller.VseesWeb import VseesController
  31. urlpatterns = [
  32. re_path(r'init/(?P<operation>.*)', InitController.InitView.as_view()),
  33. re_path(r'^testApi/(?P<operation>.*)', TestApi.testView.as_view()),
  34. re_path(r'^account/authcode', UserController.authCodeView.as_view()),
  35. re_path(r'^v3/account/generatepictureCodeView/$', UserController.generatePictureCodeView.as_view()),
  36. re_path(r'^v3/account/imageCodeRegister/$', UserController.Image_Code_RegisterView.as_view()),
  37. re_path(r'^account/register$', UserController.registerView.as_view()),
  38. re_path(r'^account/login$', UserController.v2LoginView.as_view()),
  39. re_path(r'^account/logout$', UserController.LogoutView.as_view()),
  40. re_path(r'^account/noPasslogin$', UserController.noPasslogin.as_view()),
  41. re_path(r'^account/changePwd$', UserController.ChangePwdView.as_view()),
  42. re_path(r'^account/forget$', UserController.ForgetPwdView.as_view()),
  43. re_path(r'^account/email-re-pwd$', UserController.EmailResetPwdView.as_view()),
  44. re_path(r'^account/refreshTk$', UserController.refreshTokenView.as_view()),
  45. re_path(r'^v3/account/refreshTk$', UserController.refreshTokenViewV3.as_view()),
  46. re_path(r'^v3/account/deleteUser$', UserController.DeleteUser.as_view()),
  47. re_path(r'^favicon.ico$', UserManger.success, name=u'favicon.ico'),
  48. re_path(r'^account/showUserMore$', UserManger.showUserMoreView.as_view()),
  49. re_path(r'^account/perfectUserInfo$', UserManger.perfectUserInfoView.as_view()),
  50. re_path(r'^account/getAvatar/(?P<filePath>.*)$', UserManger.getAvatarView.as_view()),
  51. re_path(r'^account/delUser$', UserManger.delUserInterface),
  52. re_path(r'^account/setUserValid$', UserManger.setUserValidView.as_view()),
  53. re_path(r'^account/showAllUser$', UserManger.showAllUserInterface),
  54. re_path(r'^account/help$', LogManager.HelpView.as_view()),
  55. re_path(r'^account/searchUser$', shareUserPermission.searchUserView.as_view()),
  56. re_path('accounts', AdminManage.search_user_by_content), # 多条件搜索用户信息admin
  57. re_path(r'^account/shareUserEquipment$', shareUserPermission.shareUserEquipmentView.as_view()),
  58. re_path(r'^account/unsharedUserEquipment$', shareUserPermission.unsharedUserEquipmentView.as_view()),
  59. re_path(r'^response/success$', UserManger.success),
  60. re_path(r'^equipment/queryUserEquipment$', EquipmentManager.queryUserEquipmentInterface),
  61. re_path(r'^equipment/addNewUserEquipment$', EquipmentManager.addNewUserEquipmentInterface),
  62. re_path(r'^equipment/delUserEquipment$', EquipmentManager.delUserEquipmentInterface),
  63. re_path(r'^equipment/modifyUserEquipment$', EquipmentManager.modifyUserEquipmentInterface),
  64. re_path(r'^equipment/showAllUserEquipment$', EquipmentManager.showAllUserEquipmentInterface),
  65. re_path(r'^equipment/findEquipmentInfo$', EquipmentManager.findEquipmentInfoInterface),
  66. re_path(r'^equipment/delete', EquipmentManager.deleteInterface),
  67. re_path(r'^equipment/batchDelete', EquipmentManager.batchDeleteInterface),
  68. re_path(r'^equipment/add', EquipmentManager.addInterface),
  69. re_path(r'^equipment/admin_add', EquipmentManager.admin_addInterface),
  70. re_path(r'^equipment/admin_modify', EquipmentManager.admin_modifyInterface),
  71. re_path(r'^equipment/query', EquipmentManager.queryInterface),
  72. re_path(r'^equipment/flow$', EquipmentManager.uid_status),
  73. re_path(r'^OTA/uploads$', OTAEquipment.getUploadFiletoDirView.as_view()),
  74. re_path(r'^OTA/download$', OTAEquipment.downloadUpdataFileUrl),
  75. re_path(r'^OTA/downloads/(\w+)/(\w+[\w+]*.+[^_w]*.\w+)$', OTAEquipment.downloadUpdataFileUrlInterface),
  76. re_path(r'^OTA/getEquipmentVersion$', OTAEquipment.getEquipmentVersionInterface),
  77. re_path(r'^OTA/getUpdataFileUrl$', OTAEquipment.getUpdataFileUrlInterface),
  78. re_path(r'^OTA/addNewEquipmentVersion$', OTAEquipment.addNewEquipmentVersionInterface),
  79. re_path(r'^roles/addNewRole$', PermissionManager.addNewRoleView.as_view()),
  80. re_path(r'^roles/queryRole$', PermissionManager.queryRoleView.as_view()),
  81. re_path(r'^roles/delRole$', PermissionManager.delRoleView.as_view()),
  82. re_path(r'^roles/modifyRole$', PermissionManager.modifyRoleView.as_view()),
  83. re_path(r'^perms/addNewPerms$', PermissionManager.addNewPermsView.as_view()),
  84. re_path(r'^perms/delPerms$', PermissionManager.delPermsView.as_view()),
  85. re_path(r'^perms/queryPerms$', PermissionManager.queryPermsView.as_view()),
  86. re_path(r'^perms/modifyPerms$', PermissionManager.modifyPermsView.as_view()),
  87. re_path(r'^permsManager/queryRolePerms$', PermissionManager.queryRolePermsView.as_view()),
  88. re_path(r'^uploads/upgrade$', OTAEquipment.getUploadFiletoDirView.as_view()),
  89. re_path(r'^upgrade/download/(\w+.[^_w]*\w+.\w+)$', CheckUserData.download_file),
  90. re_path(r'^downloads/upgrade/(\w+)/(\w+.[^_w]*\w+.\w+)$', OTAEquipment.downloadUpdataFileUrlInterface),
  91. re_path(r'^getOTAurl/getUpdataFileUrl$', OTAEquipment.getUpdataFileUrlInterface),
  92. re_path(r'^equipment/info', EquipmentInfo.EquipmentInfo.as_view()),
  93. re_path(r'^adminManage/manage', AdminManage.AdminManage.as_view()),
  94. re_path(r'^equipment/OTA', EquipmentOTA.EquipmentOTA.as_view()),
  95. re_path(r'^userbrandinfo/(?P<operation>.*)$', UserBrandController.UserBrandInfo.as_view()),
  96. re_path(r'^uidset/(?P<operation>.*)$', UidSetController.UidSetView.as_view()),
  97. re_path(r'^appInfo', AppInfo.AppInfo.as_view()),
  98. re_path(r'^meal/manage', MealManage.MealManage.as_view()),
  99. re_path(r'^device/manage$', DeviceManage.DeviceManage.as_view()),
  100. re_path(r'^device/online$', EquipmentStatus.EquipmentOnline),
  101. re_path(r'^device/offline$', EquipmentStatus.EquipmentOffline),
  102. re_path(r'^device/updateIP$', EquipmentStatus.updateIP),
  103. re_path(r'^sys/updateLog', SysManage.updateLog),
  104. re_path(r'^devices/(\w+)/logs$', DeviceLog.DeviceLog),
  105. re_path(r'^devices/(\w+)$', DeviceManage.Devices),
  106. re_path(r'^LogAccess$', LogAccess.LogAccess),
  107. re_path(r'^HelpCHM/upload$', LogManager.upload_help_chm),
  108. re_path(r'^admin/userIDs$', AdminManage.getUserIds),
  109. re_path('eq/delById', EquipmentInfo.deleteExpireEquipmentInfoById),
  110. re_path(r'^OTA/getNewVer', OTAEquipment.getNewVerInterface),
  111. re_path(r'^OTA/uploadsPack$', OTAEquipment.uploadOTAInterfaceView.as_view()),
  112. re_path(r'^OTA/downloadsPack/(?P<fullPath>[0-9\w/.\-]+)', OTAEquipment.downloadOTAInterface),
  113. re_path(r'^dlotapack/(?P<fullPath>[0-9\w/.\-]+)', OTAEquipment.downloadOTAInterfaceV2),
  114. re_path(r'^OTA/getDownLoadOTApackUrl$', OTAEquipment.getDownLoadOTApackUrl),
  115. re_path(r'^OTA/checkMaxVersion$', OTAEquipment.checkMaxVersion),
  116. re_path(r'^v2/account/authcode$', UserController.v2authCodeView.as_view()),
  117. re_path(r'^v2/account/register$', UserController.v2registerView.as_view()),
  118. re_path(r'^v2/account/forgetCode$', UserController.v2forgetPwdCodeView.as_view()),
  119. re_path(r'^v2/account/resetPwdByCode$', UserController.v2resetPwdByCodeView.as_view()),
  120. re_path(r'^v2/authcode/verify$', UserController.verifyAuthcode.as_view()),
  121. re_path(r'^v2/account/logout$', UserController.V2LogoutView.as_view()),
  122. re_path(r'^v2/account/login$', UserController.v3LoginView.as_view()),
  123. re_path(r'^v3/account/login$', UserController.v3LoginView.as_view()),
  124. re_path(r'^account/oneClickLogin$', UserController.oneClickLoginView.as_view()),
  125. re_path(r'^account/createPwd$', UserController.createPwd.as_view()),
  126. re_path(r'^account/delete$', UserController.deleteAccount),
  127. re_path(r'^user/confirmRegion$', UserController.confirmRegion),
  128. re_path(r'^account/loginCode$', UserController.loginCodeView.as_view()),
  129. re_path(r'^v3/account/loginByCode$', UserController.v3LoginByCodeView.as_view()),
  130. re_path(r'^v3/account/loginByFingerprint$', UserController.v3LoginByFingerprintView.as_view()),
  131. re_path(r'^v3/account/setFingerprint$', UserController.v3SetFingerprintView.as_view()),
  132. re_path(r'^detect/(?P<operation>.*)$', DetectController.DetectControllerView.as_view()),
  133. re_path(r'^detectV2/(?P<operation>.*)$', DetectControllerV2.DetectControllerViewV2.as_view()),
  134. re_path(r'^cloudVod/(?P<operation>.*)$', CloudVod.CloudVodView.as_view()),
  135. re_path(r'^meal/(?P<operation>.*)$', MealManage.MealView.as_view()),
  136. re_path(r'^order/(?P<operation>.*)$', OrderContrller.OrderView.as_view()),
  137. re_path(r'^appCol/(?P<operation>.*)$', AppColophon.AppColView.as_view()),
  138. re_path(r'^vodBucket/(?P<operation>.*)$', VodBucket.VodBucketView.as_view()),
  139. re_path(r'^UIDBucket/(?P<operation>.*)$', VodBucket.UidBucketView.as_view()),
  140. re_path(r'^EquipmentVersion/(?P<operation>.*)$', EquipmentOTA.EquipmentVersionView.as_view()),
  141. re_path(r'^deviceShare/(?P<operation>.*)$', DeviceShare.DeviceShareView.as_view()),
  142. re_path(r'^appVer/views$', AppInfo.AppVersionView.as_view()),
  143. re_path(r'^user/initInfo$', UserController.InitInfoView.as_view()),
  144. re_path(r'^user/information/(?P<operation>.*)$', UserController.InitUserInformationView.as_view()),
  145. re_path(r'^user/getSalt$', UserController.getPasswordSalt),
  146. re_path(r'^getTZ$', EquipmentStatus.getTZ),
  147. re_path(r'^stsOss/(?P<operation>.*)$', StsOssController.StsOssView.as_view()),
  148. re_path(r'^feedback/(?P<operation>.*)$', FeedBack.FeedBackView.as_view()),
  149. re_path(r'^uidpreview/(?P<operation>.*)$', UIDPreview.UIDPreview.as_view()),
  150. re_path(r'^sysmsg/(?P<operation>.*)$', SysMsg.SysMsgView.as_view()),
  151. re_path(r'^sysfile/(?P<filePath>.*)$', SysManage.getStatView.as_view()),
  152. re_path(r'^equipment/flowUpdate', EquipmentManager.update_uid_set),
  153. re_path(r'^log/getUploadUrl', EquipmentStatus.getUploadLogUrl),
  154. re_path(r'^app/getIdData', AppInfo.AppIdDataView.as_view()),
  155. re_path(r'^wechat/authsign', UserController.wxAuthSignView.as_view()),
  156. re_path(r'^wechat/perfect', UserController.wxPerfectView.as_view()),
  157. re_path(r'^Test', Test.Test.as_view()),
  158. re_path(r'^oauth/authcode', UserController.OauthAuthCodeView.as_view()),
  159. re_path(r'^oauth/perfect', UserController.OauthPerfectView.as_view()),
  160. re_path(r'^oauth/unbunding', UserController.UnbundingWXView.as_view()),
  161. re_path(r'^equipment/judge', EquipmentManager.judgeInterface),
  162. re_path(r'^uiduser/add', UidUser.addInterface),
  163. re_path(r'^uiduser/query', UidUser.queryInterface),
  164. re_path(r'^uiduser/update', UidUser.updateInterface),
  165. re_path(r'^uiduser/delete', UidUser.deleteInterface),
  166. re_path(r'^uid_user/(?P<operation>.*)$', UidUser.UidUserView.as_view()),
  167. re_path(r'^v2/equipment/(?P<operation>.*)$', EquipmentManagerV2.EquipmentManagerV2.as_view()),
  168. re_path(r'^msg/init', SysManage.initMsgFunc),
  169. re_path(r'^oss_crd/(?P<operation>.*)$', OssCrd.OssCrdView.as_view()),
  170. re_path(r'^push_deploy/(?P<operation>.*)$', PushDeploy.PushDeployView.as_view()),
  171. re_path(r'^oalexa/auth', UserController.alexaAuthView.as_view()),
  172. re_path(r'^oalexa/discoveryuid', UserController.alexaUidView.as_view()),
  173. re_path(r'^oalexa/discoveryswitch', UserController.alexaSwitchView.as_view()),
  174. re_path('appset/(?P<operation>.*)', AppSetController.AppSetView.as_view()),
  175. re_path(r'^application/(?P<operation>.*)$', ApplicationController.ApplicationView.as_view()),
  176. re_path(r'^login/oauth/(?P<operation>.*)$', ApplicationController.AuthView.as_view()),
  177. re_path(r'^grant/code/(?P<operation>.*)$', ApplicationController.GrantCodeView.as_view()),
  178. re_path(r'^user/ex/(?P<operation>.*)$', UserExController.UserExView.as_view()),
  179. re_path(r'^v3/equipment/(?P<operation>.*)$', EquipmentManagerV3.EquipmentManagerV3.as_view()),
  180. re_path(r'^cloudstorage/(?P<operation>.*)$', CloudStorage.CloudStorageView.as_view()),
  181. re_path(r'^payCycle/(?P<operation>.*)$', PaymentCycle.PaypalCycleNotify.as_view()),
  182. re_path(r'^paypalCycleNotify/(?P<operation>.*)$', PaymentCycle.PaypalCycleNotify.as_view()),
  183. re_path(r'^paymentCycle/(?P<operation>.*)$', PaymentCycle.payCycle.as_view()),
  184. re_path(r'^AiService/(?P<operation>.*)$', AiController.AiView.as_view()),
  185. re_path(r'^app/setting/notification/(?P<operation>.*)$', EquipmentMessagePush.EquipmentMessagePushView.as_view()),
  186. re_path(r'^v3/account/changePwd$', UserController.v3ChangePwdView.as_view()),
  187. re_path(r'^v3/account/resetPwdByCode$', UserController.v3resetPwdByCodeView.as_view()),
  188. re_path(r'^v3/account/register$', UserController.v3registerView.as_view()),
  189. re_path(r'^v3/uiduser/add', UidUser.v3addInterface),
  190. re_path(r'^v3/uiduser/query', UidUser.v3queryInterface),
  191. re_path(r'^date/(?P<operation>.*)$', DateController.DateConView.as_view()),
  192. re_path(r'^equipment/flow_test$', EquipmentManager.uid_status_test),
  193. re_path(r'^account/appFrequency/(?P<operation>.*)$', UserController.UserAppFrequencyView.as_view()),
  194. re_path(r'^v2/userbrand/(?P<operation>.*)$', UserBrandControllerV2.UserBrandV2.as_view()),
  195. re_path(r'^statistcs/appFrequencyMonth$', StatisticsController.statistcsAppFrequency),
  196. re_path(r'^statistcs/appFrequencyYear$', StatisticsController.statistcsAppFrequencyYear),
  197. re_path(r'^statistcs/pushDay$', StatisticsController.statistcsPushDay),
  198. re_path(r'^statistcs/pushMonth$', StatisticsController.statistcsPushMonth),
  199. re_path(r'^alexa/(?P<operation>.*)$', Alexa.AlexaConnectNum.as_view()),
  200. re_path(r'^faq/upload', FAQController.FAQUploadView.as_view()),
  201. re_path(r'^faq/image/(?P<filePath>.*)$', FAQController.getFAQImage.as_view()),
  202. re_path(r'^faq/(?P<operation>.*)$', FAQController.FAQView.as_view()),
  203. re_path(r'^ios/authsign', UserController.AppleAuthLogin.as_view()),
  204. re_path(r'^appLog/(?P<operation>.*)$', AppLogController.AppLogView.as_view()),
  205. re_path(r'deviceLog/(?P<operation>.*)$', DeviceLogController.DeviceLogView.as_view()),
  206. re_path(r'^local/(?P<operation>.*)$', UserController.LocalUserView.as_view()),
  207. re_path(r'^account/updateUserCountry', UserController.updateUserCountry),
  208. re_path(r'^equipmentVersionLimit/(?P<operation>.*)$', EquipmentVersionLimit.EquipmentVersionLimitView.as_view()),
  209. re_path(r'^account/subscribe$', UserController.SubscribeEmailView.as_view()),
  210. re_path(r'^account/subscribe/download$', UserController.SubscribeEmailView.as_view()),
  211. re_path(r'^voicePrompt/(?P<operation>.*)$', VoicePromptController.VoicePromptView.as_view()),
  212. re_path(r'^deviceType/(?P<operation>.*)$', DeviceTypeController.DeviceTypeView.as_view()),
  213. re_path(r'^cdk/(?P<operation>.*)$', CDKController.CDKView.as_view()),
  214. re_path(r'^cloudTransfer/(?P<operation>.*)$', CloudTransfer.cloudTestView.as_view()),
  215. re_path(r'^coupon/(?P<operation>.*)$', CouponController.CouponView.as_view()),
  216. re_path(r'^Cloudsum/(?P<operation>.*)$', Cloudsum.Cloudsum.as_view()),
  217. re_path(r'^device/StatisticsIpRegion$', DeviceConfirmRegion.StatisticsIpRegion.as_view()),
  218. re_path('iot/(?P<operation>.*)', IotCoreController.IotCoreView.as_view()),
  219. re_path(r's3_getsts/(?P<operation>.*)$', S3GetStsController.S3GetStsView.as_view()),
  220. re_path('admin/', admin.site.urls),
  221. re_path('user/(?P<operation>.*)', UIDManageUserController.UserView.as_view()),
  222. re_path('uid/(?P<operation>.*)', UIDController.UIDView.as_view()),
  223. re_path('history/(?P<operation>.*)', HistoryUIDController.HistoryUIDView.as_view()),
  224. re_path('^log/(?P<operation>.*)', LogController.LogView.as_view()),
  225. re_path('orderTask/(?P<operation>.*)', OrderTaskController.OrderTaskView.as_view()),
  226. re_path('^upload', FileController.UploadUIDFileView.as_view()),
  227. re_path('^download', FileController.DownloadUIDFileView.as_view()),
  228. re_path('^sales', SalesController.SalesView.as_view()),
  229. re_path('device/online', SalesController.DeviceOnlineView.as_view()),
  230. re_path('serialNumber/(?P<operation>.*)', SerialNumberController.SerialNumberView.as_view()),
  231. re_path('deviceShadow/updateV2', ShadowController.update_device_shadow),
  232. re_path('company/(?P<operation>.*)', CompanyController.CompanyView.as_view()),
  233. re_path('region/(?P<operation>.*)', RegionController.RegionView.as_view()),
  234. re_path('vpg/(?P<operation>.*)', VPGController.VPGView.as_view()),
  235. re_path('vpgUid/uid', VPGController.do_upload_uid),
  236. re_path('language/(?P<operation>.*)', LanguageController.LanguageView.as_view()),
  237. re_path('test/(?P<operation>.*)', TestController.TestView.as_view()),
  238. re_path(r'^OperatingLogs/(?P<operation>.*)$', OperatingLogs.OperatingLogsView.as_view()),
  239. re_path(r'^ProcessInfo/(?P<operation>.*)$', ProcessInfo.ProcessInfoView.as_view()),
  240. re_path(r'^Cloudsum/(?P<operation>.*)$', Cloudsum.Cloudsum.as_view()),
  241. re_path(r'regionCountry/(?P<operation>.*$)', RegionCountryController.RegionCountryView.as_view()),
  242. re_path(r'verifyCode/(?P<operation>.*$)', VerifyCodeController.VerifyCodeView.as_view()),
  243. re_path(r'^device/confirmRegion$', DeviceConfirmRegion.ConfirmRegion.as_view()),
  244. re_path(r'^device/confirmRegionV2$', DeviceConfirmRegion.ConfirmRegionV2.as_view()),
  245. re_path(r'^device/confirmCountry$', DeviceConfirmRegion.confirm_country_with_ip),
  246. re_path(r'^pcInfo/(?P<operation>.*)$', PcInfo.PcInfo.as_view()),
  247. re_path(r'^pcTest/(?P<operation>.*)$', PctestController.PcTest.as_view()),
  248. re_path('deviceDebug/(?P<operation>.*)', DeviceDebug.DeviceDebug.as_view()),
  249. re_path(r'^api/surveys/(?P<operation>.*)$', CloudStorageController.CloudStorageView.as_view()),
  250. re_path(r'^api/device/share/(?P<operation>.*)$', UserDeviceShareController.UserDeviceShareView.as_view()),
  251. re_path(r'^app/sensor/gateway/(?P<operation>.*)$', EquipmentFamilyController.EquipmentFamilyView.as_view()),
  252. re_path(r'^loocam/', include("Ansjer.server_urls.loocam_url")),
  253. re_path(r'^api/loocam/', include("Ansjer.server_urls.loocam_url")),
  254. re_path(r'^unicom/', include("Ansjer.server_urls.unicom_url")),
  255. re_path(r'^algorithm-shop/', include("Ansjer.server_urls.algorithm_shop_url")),
  256. re_path(r'^api/algorithm/', include("Ansjer.server_urls.algorithm_shop_url")),
  257. re_path(r'^kvs/', include("Ansjer.server_urls.kvs_url")),
  258. re_path(r'^icloud/', include("Ansjer.server_urls.icloud_url")),
  259. re_path('appAccout/(?P<operation>.*)', AppAccountManagement.AppAccoutView.as_view()),
  260. re_path('sensorGateway/(?P<operation>.*)', SensorGatewayController.SensorGateway.as_view()),
  261. re_path(r'^api/surveys/(?P<operation>.*)$', CloudStorageController.CloudStorageView.as_view()),
  262. re_path(r'^api/device/share/(?P<operation>.*)$', UserDeviceShareController.UserDeviceShareView.as_view()),
  263. re_path(r'^server/(?P<apiVersion>[a-zA-Z0-9]+)/open/detect/(?P<operation>.*)$',
  264. DetectControllerV2.DetectControllerViewV2.as_view()),
  265. re_path(r'^vsees/(?P<operation>.*)', VseesController.VseesManagement.as_view()),
  266. # 后台界面接口 -------------------------------------------------------------------------------------------------------
  267. # 登录,用户信息,权限
  268. re_path(r'^login$', UserManageController.LoginView.as_view()),
  269. re_path(r'^noPasslogin$', UserManageController.LoginView.as_view()),
  270. re_path(r'^userInfo$', UserManageController.GetPermissions.as_view()),
  271. re_path(r'^router/getList$', UserManageController.GetList.as_view()),
  272. # 角色管理
  273. re_path('roleManagement/(?P<operation>.*)', RoleController.RoleView.as_view()),
  274. # 菜单管理
  275. re_path('menuManagement/(?P<operation>.*)', MenuController.MenuView.as_view()),
  276. # 用户管理
  277. re_path('userManagement/(?P<operation>.*)', UserManageController.UserManagement.as_view()),
  278. # 设备管理
  279. re_path('deviceManagement/(?P<operation>.*)', DeviceManagementController.DeviceManagement.as_view()),
  280. # 版本管理
  281. re_path('versionManagement/(?P<operation>.*)', VersionManagementController.VersionManagement.as_view()),
  282. # 服务管理
  283. re_path('serveManagement/(?P<operation>.*)', ServeManagementController.serveManagement.as_view()),
  284. # 测试服务
  285. re_path('testServe/(?P<operation>.*)', TestServeController.TestServeView.as_view()),
  286. # 日志管理
  287. re_path('logManagement/(?P<operation>.*)', LogManagementController.LogManagementView.as_view()),
  288. # AI服务
  289. re_path('aiServe/(?P<operation>.*)', AiServeController.AiServeView.as_view()),
  290. # 问卷调查管理
  291. re_path(r'surveys/(?P<operation>.*)', SurveysManageController.SurveysView.as_view()),
  292. # 序列号管理
  293. re_path(r'serial/(?P<operation>.*)', SerialManageController.SerialView.as_view()),
  294. # 数据系统模块
  295. re_path(r'^dataManagement/', include("Ansjer.server_urls.datasystem_url")),
  296. # 数据系统模块
  297. re_path(r'^icloudserve/(?P<operation>.*)', IcloudManagementController.IcloudServeView.as_view()),
  298. # 后台界面接口 -------------------------------------------------------------------------------------------------------
  299. # 定时任务接口
  300. re_path(r'^cron/del/(?P<operation>.*)', CronTaskController.CronDelDataView.as_view()),
  301. re_path(r'^cron/update/(?P<operation>.*)', CronTaskController.CronUpdateDataView.as_view()),
  302. re_path(r'^cron/collect/(?P<operation>.*)', CronTaskController.CronCollectDataView.as_view()),
  303. # 国内域名备案网站/错误路径
  304. re_path('(?P<path>.*)', LogManager.errorPath),
  305. ]