123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- from django.conf.urls import patterns, url
- from apps.web.management.views import *
- urlpatterns = patterns('',
- # 管理后台鉴权
- url(r'^login$', login, name = 'managerLogin'),
- url(r'^logout$', logout, name = 'managerLogout'),
- url(r'^changePassword$', changePassword, name = 'changePassword'),
- # 获取设备的详细信息
- url(r'^getDevDetailList$', getDevDetailList, name = 'getDevDetailList'),
- # 给设备下发命令
- url(r'^sendCommand$', sendCommand, name = 'sendCommand'),
- # 给代理商开户
- url(r'^addAgents$', addAgents, name = 'addAgents'),
- # 修改代理商
- url(r'^editAgents$', editAgents, name = 'editAgents'),
- # 重置代理商密码
- url(r'^editAgentPassword$', editAgentPassword, name = 'editAgentPassword'),
- # 更改设备流浪卡费截止时间
- url(r'^updateDeviceCardExpireDate$', updateDeviceCardExpireDate,
- name = 'updateDeviceCardExpireDate'),
- # 获取通告
- url(r'^getNotificationList$', getNotificationList, name = 'getNotificationList'),
- # 获取FAQ
- url(r'^getFAQDetailList$', getFAQDetailList, name = 'getFAQDetailList'),
- url(r'^getStaffDetailList$', getStaffDetailList, name = 'getStaffDetailList'),
- url(r'^getChargeList$', getChargeList, name = 'getChargeList'),
- url(r'^addNotice$', addNotice, name = 'addNotice'),
- url(r'^editNotice$', editNotice, name = 'editNotice'),
- url(r'^deleteNotice$', deleteNotice, name = 'deleteNotice'),
- url(r'^addFAQ$', addFAQ, name = 'addFAQ'),
- url(r'^editFAQ$', editFAQ, name = 'editFAQ'),
- url(r'^deleteFAQ$', deleteFAQ, name = 'deleteFAQ'),
- # 获取管理人员上分记录
- url(r'^onPointsRecords$', onPointsRecords, name = 'onPointsRecords'),
- # 管理员给设备上分
- url(r'^onPoints$', onPoints, name = 'onPoints'),
- # 修改经销商密码
- url(r'^editDealerPassword$', editDealerPassword, name = 'editDealerPassword'),
- #: 解锁经销商
- url(r'^unlockDealer$', unlockDealer, name = 'unlockDealer'),
- #: 解锁代理商
- url(r'^unlockAgent$', unlockAgent, name = 'unlockAgent'),
- url(r'^getCurrentUserInfo$', getCurrentUserInfo, name = 'getCurrentUserInfo'),
- url(r'^getManagerConfigs$', getManagerConfigs, name = 'getManagerConfigs'),
- url(r'^setManagerConfigs$', setManagerConfigs, name = 'setManagerConfigs'),
- #: 离线任务管理
- url(r'^getOfflineTaskList$', getOfflineTaskList, name = 'getOfflineTaskList'),
- url(r'^getOfflineTaskStatus$', getOfflineTaskStatus, name = 'getOfflineTaskStatus'),
- #: 下达指令的命令板块
- url(r'^getCommandByDevice$', getCommandByDevice, name = 'getCommandByDevice'),
- #: 广告主管理
- url(r'^addAdvertiser', addAdvertiser, name = 'addAdvertiser'),
- url(r'^editAdvertiser$', editAdvertiser, name = 'editAdvertiser'),
- url(r'^getAdvertiserList$', getAdvertiserList, name = 'getAdvertiserList'),
- url(r'^toggleAdvertiserActivation$', toggleAdvertiserActivation, name = 'toggleAdvertiserStatus'),
- url(r'^setAdvertiserQuota', setAdvertiserQuota, name = 'setAdvertiserQuota'),
- url(r'^getDealersWithdrawalList$', getDealersWithdrawalList, name = 'getDealersWithdrawalList'),
- #卡的余额初始化
- url(r'^initCardsBalance$', initCardsBalance, name = 'initCardsBalance'),
- # 结算报表相关
- url(r'^getWithdrawSettlementList$', getWithdrawSettlementList, name='getWithdrawSettlementList'),
- url(r'^getChargeSIMCardSettlementList$', getChargeSIMCardSettlementList, name='getChargeSIMCardSettlementList'),
- url(r'^exportExcel$', exportExcel, name='exportExcel'),
- # 统计地图的界面展示
- url(r'^getDevMapChart$', getDevMapChart, name='getDevMapChart'),
- url(r'^getAllDeviceIncomeList$', getAllDeviceIncomeList, name='getAllDeviceIncomeList'),
- url(r'^getAllDeviceConsumption$', getAllDeviceConsumption, name='getAllDeviceConsumption'),
- url(r'^getAllUserStatistics$', getAllUserStatistics, name='getAllUserStatistics'),
- url(r'^getAllFeedbackStatistics$', getAllFeedbackStatistics, name='getAllFeedbackStatistics'),
- url(r'^getDealerIncomeTotalTop$', getDealerIncomeTotalTop, name='getDealerIncomeTotalTop'),
- url(r'^getUserConsumeFrequency$', getUserConsumeFrequency, name='getUserConsumeFrequency'),
- url(r'^getDevBeingUsedTrend$', getDevBeingUsedTrend, name='getDevBeingUsedTrend'),
- url(r'^getRechargeRecords$', getRechargeRecords, name='getRechargeRecords'),
- url(r'^getRechargeCardRecords$', getRechargeCardRecords, name='getRechargeCardRecords'),
- url(r'^setAgentBanner$', setAgentBanner, name='setAgentBanner'),
- url(r'^getCheckCode$', getCheckCode, name='getCheckCode'),
- url(r'^verifyForgetCode$', verifyForgetCode, name='verifyForgetCode'),
- url(r'^editAgentZJFirePlatform$', editAgentZJFirePlatform, name='editAgentZJFirePlatform'),
- url(r'^editDealerZJFirePlatform$', editDealerZJFirePlatform, name='editDealerZJFirePlatform'),
- url(r'^apps/get_ali$', getAliApp, name = 'get_ali'),
- url(r'^bind_ali_app$', bindAliApp, name = 'bindAliApp'),
- url(r'^bind_wechat_fund$', bindWechatFund, name = 'bindWechatFund'),
- # 绑定自定义公众号
- url(r'^bind_wechat_cust$', bindWechatCust, name = 'bindWechatCust'),
- # APP管理
- url(r'^apps/get_wechat_fund$', getWechatFundApp, name = 'getWechatFundApp'),
- url(r'^getDeviceRealtimeData$', getDeviceRealtimeData, name='getDeviceRealtimeData'),
- #编辑经销商
- url(r'^editDealer$', editDealer, name='editDealer'),
-
- url(r'^getIncomeOrderList$', getIncomeOrderList, name='getIncomeOrderList'),
- url(r'^getConsumptionOrderList$', getConsumptionOrderList, name='getConsumptionOrderList'),
-
- url(r'^exportIncomeOrderList$', exportIncomeOrderList, name='exportIncomeOrderList'),
- url(r'^exportConsumptionOrderList$', exportConsumptionOrderList, name='exportConsumptionOrderList'),
-
- url(r'^inputEquipment$', inputEquipment, name = 'inputEquipment'),
- url(r'^getInputEquipment$', getInputEquipments, name = 'getInputEquipments'),
- url(r'^deleteInputEquipment$', deleteInputEquipment, name = 'deleteInputEquipment'),
- url(r'^file/uploadLogicalExcel$', uploadLogicalExcel, name = 'uploadLogicalExcel'),
- url(r"^disableSelectedDevice$", disableDevice, name="disableDevice"),
- url(r"^disableAllDevice$", disableAllDevice, name="disableAllDevice"),
- url(r"^dealerDisableDevice$", dealerDisableDevice, name="dealerDisableDevice"),
-
- url(r'^getBusinessTrend$', getBusinessTrend, name='getBusinessTrend'),
- url(r'^getUserActivityTrend$', getUserActivityTrend, name='getUserActivityTrend'),
- url(r'^getConsumptionRecord$', getConsumptionRecord, name='getConsumptionRecord'),
- url(r'^exportDealerDetailList$', exportDealerDetailList, name='exportDealerDetailList'),
- )
|