# -*- coding: utf-8 -*- # !/usr/bin/env python import os from django.conf.urls import patterns, url from apps.common.utils import get_test_point from apps.web.common.views import * urlpatterns = patterns('', *[ # 公共文件上传接口 url(r'^upload$', uploadFile, name='uploadFile'), # 查询地区信息 url(r'^loadDistrictData$', loadDistrictData, name='loadDistrictData'), # 上传前端日志 url(r'^logFrontend$', logFrontend, name='logFrontend'), url(r'^getFAQ$', getFAQ, name='getFAQ'), url(r'^getAddressType$', getAddressType, name='getAddressType'), # 获取展示通告 url(r'^getNotifications$', getNotifications, name='getNotifications'), url(r'^getVersion$', getVersion, name='getVersion'), url(r'^generateNewAppKeyPair$', generateNewAppKeyPair, name='generateNewAppKeyPair'), url(r'^verifyAppKeyPairs$', verifyAppKeyPairs, name='verifyAppKeyPairs'), url(r'^apps/edit_wechat_fund$', editWechatFundApp, name='editWechatFundApp'), url(r'^apps/edit_ali$', editAliApp, name='editAliApp'), url(r'^apps/list_wechat_fund$', getWechatAppList, name='getWechatAppList'), url(r'^apps/list_ali$', getAliAppList, name='getAliAppList'), url(r'^uploadFaultPartPic$', uploadFaultPartPic, name='uploadFaultPartPic'), url(r'^queryExpressInfo$', queryExpressInfo, name='queryExpressInfo'), url(r'^ali/notify$', aliNotify, name='aliNotify'), url(r'^getReceipt$', getReceipt, name="getReceipt"), url(r'^getPowerGraph$', getPowerGraphByDevice, name="getPowerGraphByDevice"), url(r'^withdraw/bank/list$', supportedWithdrawBanks, name="supportedWithdrawBanks"), url(r'^withdraw/bank/byAccount$', getWithdrawBankByAccount, name= "getWithdrawBankByAccount"), url(r'^withdraw/area/list', loadWithdrawArea, name='loadWithdrawArea'), url(r'^withdraw/branchBank/list', withdrawBranchBankList, name='withdrawBranchBankList'), url(r'^withdraw/bankCard/list', getWithdrawBankCards, name='getWithdrawBankCards'), url(r'^withdraw/bankCard/save', saveWithdrawBankCard, name='saveWithdrawBankCard'), url(r'^withdraw/bankCard/unbind', unbindWithdrawBankCard, name='unbindWithdrawBankCard'), url(r'^withdraw/alipay/save', saveAlipayWithdrawInfo, name= 'saveAlipayWithdrawAccount'), url(r'^withdraw/wechat/save', saveWechatWithdrawInfo, name= 'saveWechatWithdrawInfo') ])