urls.py 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. # -*- coding: utf-8 -*-
  2. # !/usr/bin/env python
  3. from django.conf.urls import patterns, url
  4. from apps.web.agent.views import *
  5. urlpatterns = patterns(
  6. '',
  7. # 获取代理商列表
  8. url(r'^getAgentsDetailList$', getAgentsDetailList, name = 'getAgentsDetailList'),
  9. # 退出登录
  10. url(r'^logout$', logout, name = 'logout'),
  11. # 获取配置套餐
  12. url(r'^getDefaultPackageList$',
  13. getPackageList, name = 'getDefaultPackageList'),
  14. # 管理经销商
  15. url(r'^login$', login, name = 'agentLogin'),
  16. # 代理商注册|管理经销商
  17. url(r'^verifyRegisterCode$', verifyRegisterCode, name = 'verifyRegisterCode'),
  18. url(r'^getDealerList$', getDealerList, name = 'getDealerList'),
  19. url(r'^getCustomerList$', getReferralDealerList, name = 'getReferralDealerList'),
  20. # 代理商个人信息
  21. url(r'^accountInfo$', accountInfo, name = 'agentAccountInfo'),
  22. url(r'^homepageData$', homePageData, name = 'agentHomePageData'),
  23. url(r'^getIncome$', getIncome, name = 'getIncome'),
  24. url(r'^cardFeeIncome$', cardFeeIncome, name = 'cardFeeIncome'),
  25. url(r'^cardFeeIncomeList$', cardFeeIncomeList, name = 'cardFeeIncomeList'),
  26. url(r'^withdrawIncome$', withdrawIncome, name = 'withdrawIncome'),
  27. url(r'^withdrawIncomeList$', withdrawIncomeList, name = 'withdrawIncomeList'),
  28. url(r'^adIncome$', adIncome, name = 'adIncome'),
  29. url(r'^adIncomeList$', adIncomeList, name = 'adIncomeList'),
  30. url(r'^resetPassword$', resetPassword, name = 'agentResetPassword'),
  31. url(r'^getIncomeStatistics', getIncomeStatistics, name = 'getIncomeStatistics'),
  32. url(r'^getIncomeList', getIncomeList, name = 'getIncomeList'),
  33. # 代理商上传logo
  34. url(r'^uploadLogo$', uploadLogo, name = 'uploadLogo'),
  35. # 代理商上传服务二维码
  36. url(r'^uploadServiceQrcodeUrl$', uploadServiceQrcodeUrl, name = 'uploadServiceQrcodeUrl'),
  37. # 代理商上传服务二维码
  38. url(r'^uploadServiceGzhQrcodeUrl$', uploadServiceGzhQrcodeUrl,
  39. name = 'uploadServiceGzhQrcodeUrl'),
  40. url(r'^getAgentInfo$', getAgentInfo, name = 'getAgentInfo'),
  41. url(r'^saveAgentInfo$', saveAgentInfo, name = 'saveAgentInfo'),
  42. # 获取经销商信息
  43. url(r'^getDealerInfo$', getDealerInfo, name = 'getDealerInfo'),
  44. # 设置经销商提现比率
  45. url(r'^setDealerWithdrawFeeRatio$', setDealerWithdrawFeeRatio,
  46. name = 'setDealerWithdrawFeeRatio'),
  47. # 设置经销商年卡费用
  48. url(r'^setDealerAnnualTrafficCost$', setDealerAnnualTrafficCost,
  49. name = 'setDealerAnnualTrafficCost'),
  50. # 批量设置经销商的年卡费用
  51. url(r'^setBatchDealerAnnualTrafficCost$', setBatchDealerAnnualTrafficCost,
  52. name = 'setBatchDealerAnnualTrafficCost'),
  53. # 代理商远程上分
  54. url(r'^onPoints$', onPoints, name = 'agentOnPoints'),
  55. # 标记测试
  56. url(r'^labelBadDevice$', labelBadDevice, name = 'labelBadDevice'),
  57. # 查询设备信息
  58. url(r'^equipmentList$', equipmentList, name = 'equipmentList'),
  59. # wxconfig过期再取
  60. url(r'^wxconfig$', wxconfig, name = 'wxconfig'),
  61. url(r'^toggleSwitches$', toggleSwitches, name = 'toggleSwitches'),
  62. # 代理商获取短信验证码
  63. url(r'^getCheckCode', getCheckCode, name = 'getCheckCode'),
  64. # 代理商验证验证码
  65. url(r'^verifyForgetCode$', verifyForgetCode, name = 'verifyForgetCode'),
  66. # 查询钱包
  67. url(r'^walletData$', walletData, name = 'walletData'),
  68. # 代理商获取提现短信验证码
  69. url(r'^getWithdrawCode$', getWithdrawCode, name = 'getWithdrawCode'),
  70. # 代理商提现
  71. url(r'^withdraw$', agentWithdraw, name = 'agentWithdraw'),
  72. # 查询提现记录
  73. url(r'^withdrawalsHistoryList$', withdrawalsHistoryList, name = 'withdrawalsHistoryList'),
  74. # 提现明细详情
  75. url(r'^paymentInfo$', paymentInfo, name = 'paymentInfo'),
  76. # 设置代理商设备分成比例 分为商户收款和资金池收款
  77. url(r'^setDealerAgentProfitShare$', setDealerAgentProfitShare, name = 'setDealerAgentProfitShare'),
  78. url(r'^getWalletWithdrawInfo$', getWalletWithdrawInfo, name = 'getWalletWithdrawInfo'),
  79. url(r'^updateInfo$', updateInfo, name = 'updateInfo'),
  80. # 提现处理列表
  81. url(r'^withdrawList$', getWithdrawList, name = 'getManualWithdrawListOfDealers'),
  82. # 确认提现
  83. url(r'^adminAgreeWallet$', adminAgreeWallet, name = 'adminAgreeWallet'),
  84. # 后台退单
  85. url(r'^revokeWithdrawApplication$', revokeWithdrawApplication,
  86. name = 'revokeWithdrawApplication'),
  87. url(r'^getFeatureList$', getFeatureList, name = 'getFeatureList'),
  88. url(r'^withdrawDetail$', getWithdrawDetail, name = 'getDealerWithdrawalDetail'),
  89. url(r'^setLimitDevNum$', setLimitDevNum, name = 'setLimitDevNum'),
  90. url(r'^withdraw/entry$', withdrawEntry, name = 'withdrawEntry'),
  91. url(r'^wechat/bind$', bindWechatEntry, name = 'bindWechatEntry'),
  92. url(r'^wechat/getBindInfo$', getBoundWechat, name = 'getBoundWechat'),
  93. url(r'^card/batchBind$', getBoundWechat, name = 'getBoundWechat'),
  94. url(r'^batchEntryCard$', batchBindCard, name = 'batchBindCard'),
  95. url(r'^getUserCardList$', getUserCardList, name='getUserCardList'),
  96. url(r'^clearCardBind$', clearCardBind, name='clearCardBind'),
  97. url(r'^clearCardVirtualBind$', clearCardVirtualBind, name='clearCardVirtualBind'),
  98. url(r'^setShowBanner$', setShowBanner, name='setShowBanner'),
  99. url(r'^setHasTempPackageSwitch$', setHasTempPackageSwitch, name='setHasTempPackageSwitch'),
  100. url(r'^setBankWithdrawFee$', setBankWithdrawFee, name='setBankWithdrawFee'),
  101. url(r'^dealer/setProxyServicePhone$', setAgentProxyServicePhone, name='setAgentProxyServicePhone'),
  102. url(r'^dealer/findDevTypeCandidate$', findDevTypeCandidate, name='findDevTypeCandidate'),
  103. )