|
|
280
|
280
|
# 下载页设置
|
|
281
|
|
-DOWNLOAD_TMPL_PATH = os.path.join(BASE_DIR, 'page/templates/page/download.tmpl.html').replace('\\', '/')
|
|
282
|
|
-DOWNLOAD_ADR_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/adr_download.html').replace('\\', '/')
|
|
283
|
|
-DOWNLOAD_IOS_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/ios_download.html').replace('\\', '/')
|
|
|
281
|
+TMPL_DOWNLOAD_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/download.tmpl.html').replace('\\', '/')
|
|
|
282
|
+
|
|
|
283
|
+PAI2_USER_DOWNLOAD_ADR_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_user_adr_download.html').replace('\\', '/')
|
|
|
284
|
+PAI2_USER_DOWNLOAD_IOS_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_user_ios_download.html').replace('\\', '/')
|
|
|
285
|
+
|
|
|
286
|
+PAI2_LENSMAN_DOWNLOAD_ADR_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_lensman_adr_download.html').replace('\\', '/')
|
|
|
287
|
+PAI2_LENSMAN_DOWNLOAD_IOS_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_lensman_ios_download.html').replace('\\', '/')
|
|
|
288
|
+
|
|
|
289
|
+PAI2_TOURGUIDE_DOWNLOAD_ADR_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_tourguide_adr_download.html').replace('\\', '/')
|
|
|
290
|
+PAI2_TOURGUIDE_DOWNLOAD_IOS_PAGE_PATH = os.path.join(BASE_DIR, 'page/templates/page/pai2_tourguide_ios_download.html').replace('\\', '/')
|
|
284
|
291
|
|
|
285
|
292
|
# 下载设置
|
|
286
|
|
-DOWNLOAD_WX_URL = 'https://pai.ai'
|
|
287
|
|
-DOWNLOAD_IOS_URL = 'https://pai.ai'
|
|
|
293
|
+PAI2_USER_DOWNLOAD_WX_URL = 'https://pai.ai'
|
|
|
294
|
+PAI2_USER_DOWNLOAD_IOS_URL = 'https://pai.ai'
|
|
|
295
|
+
|
|
|
296
|
+PAI2_LENSMAN_DOWNLOAD_WX_URL = 'https://pai.ai'
|
|
|
297
|
+PAI2_LENSMAN_DOWNLOAD_IOS_URL = 'https://pai.ai'
|
|
|
298
|
+
|
|
|
299
|
+PAI2_TOURGUIDE_DOWNLOAD_WX_URL = 'https://pai.ai'
|
|
|
300
|
+PAI2_TOURGUIDE_DOWNLOAD_IOS_URL = 'https://pai.ai'
|
|
288
|
301
|
|
|
289
|
302
|
# 群组设置
|
|
290
|
303
|
GROUP_PER_PAGE = 20 # 群组每页数量
|
|
|
|
@@ -57,15 +57,19 @@ urlpatterns += [
|
|
57
|
57
|
]
|
|
58
|
58
|
|
|
59
|
59
|
urlpatterns += [
|
|
|
60
|
+ url(r'^g/(?P<group_id>\w+)$', grouppage_views.group_detail, name='group_detail'), # 群组详情(拍爱用户端下载页)
|
|
|
61
|
+]
|
|
|
62
|
+
|
|
|
63
|
+urlpatterns += [
|
|
60
|
64
|
url(r'^gp/(?P<photo_id>\w+)$', grouppage_views.group_photo_detail, name='group_photo_detail'), # 群组照片详情
|
|
61
|
65
|
]
|
|
62
|
66
|
|
|
63
|
67
|
urlpatterns += [
|
|
64
|
|
- url(r'^g/(?P<group_id>\w+)$', grouppage_views.group_detail, name='group_detail'), # 群组详情(APP下载页)
|
|
|
68
|
+ url(r'^tg/(?P<admin_id>\w+)$', grouppage_views.tgu_group_detail, name='tgu_group_detail'), # 旅行团详情(拍爱导游端下载页)
|
|
65
|
69
|
]
|
|
66
|
70
|
|
|
67
|
71
|
urlpatterns += [
|
|
68
|
|
- url(r'^tgu/(?P<admin_id>\w+)$', grouppage_views.tgu_group_user_detail, name='tgu_group_user_detail'), # 旅行团详情(APP下载页)
|
|
|
72
|
+ url(r'^tgu/(?P<admin_id>\w+)$', grouppage_views.tgu_group_user_detail, name='tgu_group_user_detail'), # 旅行团成员详情(拍爱用户端下载页)
|
|
69
|
73
|
]
|
|
70
|
74
|
|
|
71
|
75
|
urlpatterns += [
|
|
|
|
@@ -5,6 +5,6 @@ from django.conf import settings
|
|
5
|
5
|
|
|
6
|
6
|
def origin_expired_stamps(origin_stamps, user_id):
|
|
7
|
7
|
try:
|
|
8
|
|
- return int(origin_stamps) + settings.ORIGIN_EXPIRED_MSEL
|
|
|
8
|
+ return int(origin_stamps) + settings.LENSMAN_PHOTO_ORIGIN_EXPIRED_MSEL
|
|
9
|
9
|
except:
|
|
10
|
10
|
return 0
|