r> 87
-
88
-urlpatterns += [
89 75
     url(r'^$', website_views.pai2_home, name='pai2_home'),  # 官网首页
90 76
     url(r'^aboutus$', website_views.pai2_aboutus, name='pai2_aboutus'),  # 官网关于我们
91 77
     url(r'^contactus$', website_views.pai2_contactus, name='pai2_contactus'),  # 官网联系我们
@@ -93,16 +79,6 @@ urlpatterns += [
93 79
     url(r'^termofservice$', website_views.pai2_termofservice, name='pai2_termofservice'),  # 官网服务条款
94 80
 ]
95 81
 
96
-# 摄影师相关
97
-urlpatterns += [
98
-    url(r'^page/l/submit$', lensman_views.lensman_submit_api, name='lensman_submit_api'),  # 摄影师信息提交
99
-]
100
-
101
-# 导游相关
102
-urlpatterns += [
103
-    url(r'^page/t/submit$', tourguide_views.tourguide_submit_api, name='tourguide_submit_api'),  # 导游信息提交
104
-]
105
-
106 82
 # Mini App
107 83
 urlpatterns += [
108 84
     url(r'^mini/userinfo$', mini_views.get_userinfo_api, name='get_userinfo_api2'),  # 获取用户信息
@@ -112,6 +88,7 @@ urlpatterns += [
112 88
 # Additionally, we include login URLs for the browsable API.
113 89
 urlpatterns += [
114 90
     url(r'^api/', include(router.urls)),
91
+    url(r'^page/', include('page.urls', namespace='page')),
115 92
     url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
116 93
 ]
117 94
 

kodo - Gogs: Go Git Service

Sin Descripción

Kimi.Huang: 8584856bb8 Set redpack info @ model %!s(int64=7) %!d(string=hace) años
..
migrations 4defb80fdc gogs first init %!s(int64=10) %!d(string=hace) años
__init__.py 4defb80fdc gogs first init %!s(int64=10) %!d(string=hace) años
admin.py fabef63211 set line_length=200 for isort %!s(int64=10) %!d(string=hace) años
admin_views.py 24ce919c6f final_coupon_info %!s(int64=7) %!d(string=hace) años
clerk_views.py 74f2a0cd6d testsn %!s(int64=7) %!d(string=hace) años
distributor_views.py be0c645569 logit %!s(int64=7) %!d(string=hace) años
encrypt_views.py 8584856bb8 Set redpack info @ model %!s(int64=7) %!d(string=hace) años
hb_views.py d6c61f8404 Redpack Relative %!s(int64=7) %!d(string=hace) años
mch_views.py d6c61f8404 Redpack Relative %!s(int64=7) %!d(string=hace) años
model_views.py 548f4827df Opt %!s(int64=7) %!d(string=hace) años
models.py fabef63211 set line_length=200 for isort %!s(int64=10) %!d(string=hace) años
operator_views.py cbc12e6b47 'count': count, %!s(int64=8) %!d(string=hace) años
slide_views.py f50c94ee3a slides %!s(int64=7) %!d(string=hace) años
tests.py fabef63211 set line_length=200 for isort %!s(int64=10) %!d(string=hace) años
urls.py f50c94ee3a slides %!s(int64=7) %!d(string=hace) años
views.py 953ffaab3c Change to use django-uniapi %!s(int64=9) %!d(string=hace) años