8 Star 13 Fork 3

oldsyang/jdpay

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
urls.py 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
"""jdpay URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
Including another URLconf
1. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import include, url
from django.contrib import admin
from djangoapps.exa import views
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^test/jdpay/notify/$', views.NotifyViewset.as_view()),
url(r'^test/jdpay/refund/$', views.refund, name="refund"),
url(r'^test/jdpay/revoke/$', views.revoke, name="revoke"),
url(r'^test/jdpay/refund/notify/$', views.refund_notify, name="refund_notify"),
url(r'^test/jdpay/pay_res/$', views.RedirectViewset.as_view()),
url(r'^$', views.create_order),
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/oldsyang/jdpay.git
git@gitee.com:oldsyang/jdpay.git
oldsyang
jdpay
jdpay
master

搜索帮助