urls.py 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # -*- coding: utf-8 -*-
  2. # !/usr/bin/env python
  3. from django.conf.urls import patterns, url
  4. from apps.web.test.views import *
  5. urlpatterns = patterns('',
  6. url(r'^login$', login, name = 'login'),
  7. url(r'^resetPassword$', resetPassword, name = 'resetPassword'),
  8. # 绑定
  9. url(r'^bindCode$', bindCode, name = 'bindCode'),
  10. # 解绑定
  11. url(r'^unbindCode$', unbindCode, name = 'unbindCode'),
  12. url(r'^accountInfo$', accountInfo, name = 'accountInfo'),
  13. url(r'^labelDevice$', labelDevice, name = 'labelDevice'),
  14. url(r'^confirmTestResult$', confirmTestResult, name = 'confirmTestResult'),
  15. url(r'^getDeviceInfo$', getDeviceInfo, name = 'getDeviceInfo'),
  16. url(r'^getTestResultList$', getTestResultList, name = 'getTestResultList'),
  17. url(r'^onPoints$', onPoints, name = 'onPoints'),
  18. url(r'^onBtPoints$', onBtPoints, name = 'onBtPoints'),
  19. # wxconfig过期再取
  20. url(r'^wxconfig$', wxconfig, name = 'wxconfig'),
  21. # 安装驱动
  22. url(r'^setComDriver$', setComDriver, name = 'setComDriver'),
  23. url(r'^getComDriver$', getComDriver, name = 'getComDriver'),
  24. url(r'^checkLogicalBindingByRange$', checkLogicalBindingByRange,
  25. name = 'checkLogicalBindingByRange'),
  26. url(r'^unregisterCode$', unregisterCode, name='unregisterCode'),
  27. url(r'^getFeatureList$', getFeatureList, name='getFeatureList'),
  28. url(r'^dlxTest$', dlxTest, name='dlxTest'),
  29. url(r'^getTestStatsByDay$', getTestStatsByDay, name='getTestStatsByDay'),
  30. url(r'^queryTestRcds$', queryTestRcds, name='queryTestRcds'),
  31. url(r'^queryDeviceTestDetail$', queryDeviceTestDetail, name='queryDeviceTestDetail'),
  32. url(r'^recordTestResult$', recordTestResult, name='recordTestResult'),
  33. url(r"^doTest$", serialTest, name="serialTest"),
  34. url(r"^getCookies$", getCookies, name="getCookies"),
  35. url(r"^setCookies$", setCookies, name="setCookies"),
  36. url(r"^clearCookies$", clearCookies, name="clearCookies"),
  37. url(r"^bindParentNode$", bindParentNode, name="bindParentNode"),
  38. url(r"^unbindParentNode$", unbindParentNode, name="unbindParentNode")
  39. )