urls.py 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. # -*- coding: utf-8 -*-
  2. # !/usr/bin/env python
  3. from django.conf.urls import patterns, url
  4. from apps.web.management.views import *
  5. urlpatterns = patterns('',
  6. # 管理后台鉴权
  7. url(r'^login$', login, name = 'managerLogin'),
  8. url(r'^logout$', logout, name = 'managerLogout'),
  9. url(r'^changePassword$', changePassword, name = 'changePassword'),
  10. # 获取设备的详细信息
  11. url(r'^getDevDetailList$', getDevDetailList, name = 'getDevDetailList'),
  12. # 给设备下发命令
  13. url(r'^sendCommand$', sendCommand, name = 'sendCommand'),
  14. # 给代理商开户
  15. url(r'^addAgents$', addAgents, name = 'addAgents'),
  16. # 修改代理商
  17. url(r'^editAgents$', editAgents, name = 'editAgents'),
  18. # 重置代理商密码
  19. url(r'^editAgentPassword$', editAgentPassword, name = 'editAgentPassword'),
  20. # 更改设备流浪卡费截止时间
  21. url(r'^updateDeviceCardExpireDate$', updateDeviceCardExpireDate,
  22. name = 'updateDeviceCardExpireDate'),
  23. # 获取通告
  24. url(r'^getNotificationList$', getNotificationList, name = 'getNotificationList'),
  25. # 获取FAQ
  26. url(r'^getFAQDetailList$', getFAQDetailList, name = 'getFAQDetailList'),
  27. url(r'^getStaffDetailList$', getStaffDetailList, name = 'getStaffDetailList'),
  28. url(r'^getChargeList$', getChargeList, name = 'getChargeList'),
  29. url(r'^addNotice$', addNotice, name = 'addNotice'),
  30. url(r'^editNotice$', editNotice, name = 'editNotice'),
  31. url(r'^deleteNotice$', deleteNotice, name = 'deleteNotice'),
  32. url(r'^addFAQ$', addFAQ, name = 'addFAQ'),
  33. url(r'^editFAQ$', editFAQ, name = 'editFAQ'),
  34. url(r'^deleteFAQ$', deleteFAQ, name = 'deleteFAQ'),
  35. # 获取管理人员上分记录
  36. url(r'^onPointsRecords$', onPointsRecords, name = 'onPointsRecords'),
  37. # 管理员给设备上分
  38. url(r'^onPoints$', onPoints, name = 'onPoints'),
  39. # 修改经销商密码
  40. url(r'^editDealerPassword$', editDealerPassword, name = 'editDealerPassword'),
  41. #: 解锁经销商
  42. url(r'^unlockDealer$', unlockDealer, name = 'unlockDealer'),
  43. #: 解锁代理商
  44. url(r'^unlockAgent$', unlockAgent, name = 'unlockAgent'),
  45. url(r'^getCurrentUserInfo$', getCurrentUserInfo, name = 'getCurrentUserInfo'),
  46. url(r'^getManagerConfigs$', getManagerConfigs, name = 'getManagerConfigs'),
  47. url(r'^setManagerConfigs$', setManagerConfigs, name = 'setManagerConfigs'),
  48. #: 离线任务管理
  49. url(r'^getOfflineTaskList$', getOfflineTaskList, name = 'getOfflineTaskList'),
  50. url(r'^getOfflineTaskStatus$', getOfflineTaskStatus, name = 'getOfflineTaskStatus'),
  51. #: 下达指令的命令板块
  52. url(r'^getCommandByDevice$', getCommandByDevice, name = 'getCommandByDevice'),
  53. #: 广告主管理
  54. url(r'^addAdvertiser', addAdvertiser, name = 'addAdvertiser'),
  55. url(r'^editAdvertiser$', editAdvertiser, name = 'editAdvertiser'),
  56. url(r'^getAdvertiserList$', getAdvertiserList, name = 'getAdvertiserList'),
  57. url(r'^toggleAdvertiserActivation$', toggleAdvertiserActivation, name = 'toggleAdvertiserStatus'),
  58. url(r'^setAdvertiserQuota', setAdvertiserQuota, name = 'setAdvertiserQuota'),
  59. url(r'^getDealersWithdrawalList$', getDealersWithdrawalList, name = 'getDealersWithdrawalList'),
  60. #卡的余额初始化
  61. url(r'^initCardsBalance$', initCardsBalance, name = 'initCardsBalance'),
  62. # 结算报表相关
  63. url(r'^getWithdrawSettlementList$', getWithdrawSettlementList, name='getWithdrawSettlementList'),
  64. url(r'^getChargeSIMCardSettlementList$', getChargeSIMCardSettlementList, name='getChargeSIMCardSettlementList'),
  65. url(r'^exportExcel$', exportExcel, name='exportExcel'),
  66. # 统计地图的界面展示
  67. url(r'^getDevMapChart$', getDevMapChart, name='getDevMapChart'),
  68. url(r'^getAllDeviceIncomeList$', getAllDeviceIncomeList, name='getAllDeviceIncomeList'),
  69. url(r'^getAllDeviceConsumption$', getAllDeviceConsumption, name='getAllDeviceConsumption'),
  70. url(r'^getAllUserStatistics$', getAllUserStatistics, name='getAllUserStatistics'),
  71. url(r'^getAllFeedbackStatistics$', getAllFeedbackStatistics, name='getAllFeedbackStatistics'),
  72. url(r'^getDealerIncomeTotalTop$', getDealerIncomeTotalTop, name='getDealerIncomeTotalTop'),
  73. url(r'^getUserConsumeFrequency$', getUserConsumeFrequency, name='getUserConsumeFrequency'),
  74. url(r'^getDevBeingUsedTrend$', getDevBeingUsedTrend, name='getDevBeingUsedTrend'),
  75. url(r'^getRechargeRecords$', getRechargeRecords, name='getRechargeRecords'),
  76. url(r'^getRechargeCardRecords$', getRechargeCardRecords, name='getRechargeCardRecords'),
  77. url(r'^setAgentBanner$', setAgentBanner, name='setAgentBanner'),
  78. url(r'^getCheckCode$', getCheckCode, name='getCheckCode'),
  79. url(r'^verifyForgetCode$', verifyForgetCode, name='verifyForgetCode'),
  80. url(r'^editAgentZJFirePlatform$', editAgentZJFirePlatform, name='editAgentZJFirePlatform'),
  81. url(r'^editDealerZJFirePlatform$', editDealerZJFirePlatform, name='editDealerZJFirePlatform'),
  82. url(r'^apps/get_ali$', getAliApp, name = 'get_ali'),
  83. url(r'^bind_ali_app$', bindAliApp, name = 'bindAliApp'),
  84. url(r'^bind_wechat_fund$', bindWechatFund, name = 'bindWechatFund'),
  85. # 绑定自定义公众号
  86. url(r'^bind_wechat_cust$', bindWechatCust, name = 'bindWechatCust'),
  87. # APP管理
  88. url(r'^apps/get_wechat_fund$', getWechatFundApp, name = 'getWechatFundApp'),
  89. url(r'^getDeviceRealtimeData$', getDeviceRealtimeData, name='getDeviceRealtimeData'),
  90. #编辑经销商
  91. url(r'^editDealer$', editDealer, name='editDealer'),
  92. url(r'^getIncomeOrderList$', getIncomeOrderList, name='getIncomeOrderList'),
  93. url(r'^getConsumptionOrderList$', getConsumptionOrderList, name='getConsumptionOrderList'),
  94. url(r'^exportIncomeOrderList$', exportIncomeOrderList, name='exportIncomeOrderList'),
  95. url(r'^exportConsumptionOrderList$', exportConsumptionOrderList, name='exportConsumptionOrderList'),
  96. url(r'^inputEquipment$', inputEquipment, name = 'inputEquipment'),
  97. url(r'^getInputEquipment$', getInputEquipments, name = 'getInputEquipments'),
  98. url(r'^deleteInputEquipment$', deleteInputEquipment, name = 'deleteInputEquipment'),
  99. url(r'^file/uploadLogicalExcel$', uploadLogicalExcel, name = 'uploadLogicalExcel'),
  100. url(r"^disableSelectedDevice$", disableDevice, name="disableDevice"),
  101. url(r"^disableAllDevice$", disableAllDevice, name="disableAllDevice"),
  102. url(r"^dealerDisableDevice$", dealerDisableDevice, name="dealerDisableDevice"),
  103. url(r'^getBusinessTrend$', getBusinessTrend, name='getBusinessTrend'),
  104. url(r'^getUserActivityTrend$', getUserActivityTrend, name='getUserActivityTrend'),
  105. url(r'^getConsumptionRecord$', getConsumptionRecord, name='getConsumptionRecord'),
  106. url(r'^exportDealerDetailList$', exportDealerDetailList, name='exportDealerDetailList'),
  107. )