@@ -190,7 +190,7 @@ |
||
190 | 190 |
<script> |
191 | 191 |
V.initWxData({ |
192 | 192 |
imgUrl: "http://pai.ai/static/pai2/img/paiai_96_96.png", |
193 |
- link: 'http://pai.ai/we/we_oauth2?redirect_url=http://pai.ai/page/lensman&scope=snsapi_userinfo', |
|
193 |
+ link: 'http://pai.ai/w/o?r=http%3A%2F%2Fpai.ai%2Fp%2Flensman', |
|
194 | 194 |
desc: "摄影师授权", |
195 | 195 |
title: "摄影师授权", |
196 | 196 |
timeLine: "" |
@@ -51,7 +51,7 @@ |
||
51 | 51 |
<script> |
52 | 52 |
V.initWxData({ |
53 | 53 |
imgUrl: "http://pai.ai/static/pai2/img/paiai_96_96.png", |
54 |
- link: 'http://pai.ai/we/we_oauth2?redirect_url=http://pai.ai/page/loginqr&scope=snsapi_userinfo', |
|
54 |
+ link: 'http://pai.ai/w/o?r=http%3A%2F%2Fpai.ai%2Fp%2Floginqr', |
|
55 | 55 |
desc: "授权登录", |
56 | 56 |
title: "授权登录", |
57 | 57 |
timeLine: "" |
@@ -252,7 +252,7 @@ |
||
252 | 252 |
<script> |
253 | 253 |
V.initWxData({ |
254 | 254 |
imgUrl: "http://pai.ai/static/pai2/img/paiai_96_96.png", |
255 |
- link: 'http://pai.ai/we/we_oauth2?redirect_url=http://pai.ai/page/tourguide&scope=snsapi_userinfo', |
|
255 |
+ link: 'http://pai.ai/w/o?r=http%3A%2F%2Fpai.ai%2Fp%2Ftourguide', |
|
256 | 256 |
desc: "导游授权", |
257 | 257 |
title: "导游授权", |
258 | 258 |
timeLine: "" |
@@ -84,10 +84,14 @@ urlpatterns += [ |
||
84 | 84 |
# Additionally, we include login URLs for the browsable API. |
85 | 85 |
urlpatterns += [ |
86 | 86 |
url(r'^api/', include(router.urls)), |
87 |
- url(r'^page/', include('page.urls', namespace='page')), |
|
88 | 87 |
url(r'^uniapi/', include('django_uniapi.urls', namespace='uniapi')), |
88 |
+ url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')), |
|
89 |
+ |
|
90 |
+ url(r'^p/', include('page.urls', namespace='shortpage')), |
|
91 |
+ url(r'^page/', include('page.urls', namespace='page')), |
|
92 |
+ |
|
93 |
+ url(r'^w/', include('django_we.urls', namespace='shortwechat')), |
|
89 | 94 |
url(r'^we/', include('django_we.urls', namespace='wechat')), |
90 |
- url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')) |
|
91 | 95 |
] |
92 | 96 |
|
93 | 97 |
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |