12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # -*- 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'^getCardBankNameType$', getCardBankNameType, name='getCardBankNameType'),
- 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'^banks/list$', supportedBanks, name="supportedBanks"),
- url(r'^getPowerGraph$', getPowerGraphByDevice, name="getPowerGraphByDevice"),
- ])
|