123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- from django.conf.urls import patterns, url
- from apps.web.agent.views import *
- urlpatterns = patterns(
- '',
- # 获取代理商列表
- url(r'^getAgentsDetailList$', getAgentsDetailList, name = 'getAgentsDetailList'),
- # 退出登录
- url(r'^logout$', logout, name = 'logout'),
- # 获取配置套餐
- url(r'^getDefaultPackageList$',
- getPackageList, name = 'getDefaultPackageList'),
- # 管理经销商
- url(r'^login$', login, name = 'agentLogin'),
- # 代理商注册|管理经销商
- url(r'^verifyRegisterCode$', verifyRegisterCode, name = 'verifyRegisterCode'),
- url(r'^getDealerList$', getDealerList, name = 'getDealerList'),
- url(r'^getCustomerList$', getReferralDealerList, name = 'getReferralDealerList'),
- # 代理商个人信息
- url(r'^accountInfo$', accountInfo, name = 'agentAccountInfo'),
- url(r'^homepageData$', homePageData, name = 'agentHomePageData'),
- url(r'^getIncome$', getIncome, name = 'getIncome'),
- url(r'^cardFeeIncome$', cardFeeIncome, name = 'cardFeeIncome'),
- url(r'^cardFeeIncomeList$', cardFeeIncomeList, name = 'cardFeeIncomeList'),
- url(r'^withdrawIncome$', withdrawIncome, name = 'withdrawIncome'),
- url(r'^withdrawIncomeList$', withdrawIncomeList, name = 'withdrawIncomeList'),
- url(r'^adIncome$', adIncome, name = 'adIncome'),
- url(r'^adIncomeList$', adIncomeList, name = 'adIncomeList'),
- url(r'^resetPassword$', resetPassword, name = 'agentResetPassword'),
- url(r'^getIncomeStatistics', getIncomeStatistics, name = 'getIncomeStatistics'),
- url(r'^getIncomeList', getIncomeList, name = 'getIncomeList'),
- # 代理商上传logo
- url(r'^uploadLogo$', uploadLogo, name = 'uploadLogo'),
- # 代理商上传服务二维码
- url(r'^uploadServiceQrcodeUrl$', uploadServiceQrcodeUrl, name = 'uploadServiceQrcodeUrl'),
- # 代理商上传服务二维码
- url(r'^uploadServiceGzhQrcodeUrl$', uploadServiceGzhQrcodeUrl,
- name = 'uploadServiceGzhQrcodeUrl'),
- url(r'^getAgentInfo$', getAgentInfo, name = 'getAgentInfo'),
- url(r'^saveAgentInfo$', saveAgentInfo, name = 'saveAgentInfo'),
- # 获取经销商信息
- url(r'^getDealerInfo$', getDealerInfo, name = 'getDealerInfo'),
- # 设置经销商提现比率
- url(r'^setDealerWithdrawFeeRatio$', setDealerWithdrawFeeRatio,
- name = 'setDealerWithdrawFeeRatio'),
- # 设置经销商年卡费用
- url(r'^setDealerAnnualTrafficCost$', setDealerAnnualTrafficCost,
- name = 'setDealerAnnualTrafficCost'),
- # 批量设置经销商的年卡费用
- url(r'^setBatchDealerAnnualTrafficCost$', setBatchDealerAnnualTrafficCost,
- name = 'setBatchDealerAnnualTrafficCost'),
- # 代理商远程上分
- url(r'^onPoints$', onPoints, name = 'agentOnPoints'),
- # 标记测试
- url(r'^labelBadDevice$', labelBadDevice, name = 'labelBadDevice'),
- # 查询设备信息
- url(r'^equipmentList$', equipmentList, name = 'equipmentList'),
- # wxconfig过期再取
- url(r'^wxconfig$', wxconfig, name = 'wxconfig'),
- url(r'^toggleSwitches$', toggleSwitches, name = 'toggleSwitches'),
- # 代理商获取短信验证码
- url(r'^getCheckCode', getCheckCode, name = 'getCheckCode'),
- # 代理商验证验证码
- url(r'^verifyForgetCode$', verifyForgetCode, name = 'verifyForgetCode'),
- # 查询钱包
- url(r'^walletData$', walletData, name = 'walletData'),
- # 代理商获取提现短信验证码
- url(r'^getWithdrawCode$', getWithdrawCode, name = 'getWithdrawCode'),
- # 代理商提现
- url(r'^withdraw$', agentWithdraw, name = 'agentWithdraw'),
- # 查询提现记录
- url(r'^withdrawalsHistoryList$', withdrawalsHistoryList, name = 'withdrawalsHistoryList'),
- # 提现明细详情
- url(r'^paymentInfo$', paymentInfo, name = 'paymentInfo'),
- # 设置代理商设备分成比例 分为商户收款和资金池收款
- url(r'^setDealerAgentProfitShare$', setDealerAgentProfitShare, name = 'setDealerAgentProfitShare'),
- url(r'^getWalletWithdrawInfo$', getWalletWithdrawInfo, name = 'getWalletWithdrawInfo'),
- url(r'^updateInfo$', updateInfo, name = 'updateInfo'),
- # 提现处理列表
- url(r'^withdrawList$', getWithdrawList, name = 'getManualWithdrawListOfDealers'),
- # 确认提现
- url(r'^adminAgreeWallet$', adminAgreeWallet, name = 'adminAgreeWallet'),
- # 后台退单
- url(r'^revokeWithdrawApplication$', revokeWithdrawApplication,
- name = 'revokeWithdrawApplication'),
- url(r'^getFeatureList$', getFeatureList, name = 'getFeatureList'),
- url(r'^withdrawDetail$', getWithdrawDetail, name = 'getDealerWithdrawalDetail'),
- url(r'^setLimitDevNum$', setLimitDevNum, name = 'setLimitDevNum'),
- url(r'^withdraw/entry$', withdrawEntry, name = 'withdrawEntry'),
- url(r'^wechat/bind$', bindWechatEntry, name = 'bindWechatEntry'),
- url(r'^wechat/getBindInfo$', getBoundWechat, name = 'getBoundWechat'),
- url(r'^card/batchBind$', getBoundWechat, name = 'getBoundWechat'),
- url(r'^batchEntryCard$', batchBindCard, name = 'batchBindCard'),
- url(r'^getUserCardList$', getUserCardList, name='getUserCardList'),
- url(r'^clearCardBind$', clearCardBind, name='clearCardBind'),
- url(r'^clearCardVirtualBind$', clearCardVirtualBind, name='clearCardVirtualBind'),
- url(r'^setShowBanner$', setShowBanner, name='setShowBanner'),
- url(r'^setHasTempPackageSwitch$', setHasTempPackageSwitch, name='setHasTempPackageSwitch'),
- url(r'^setBankWithdrawFee$', setBankWithdrawFee, name='setBankWithdrawFee'),
- url(r'^dealer/setProxyServicePhone$', setAgentProxyServicePhone, name='setAgentProxyServicePhone'),
- url(r'^dealer/findDevTypeCandidate$', findDevTypeCandidate, name='findDevTypeCandidate'),
- )
|