|
|
@@ -657,7 +657,7 @@ def pai2_home_api(request):
|
657
|
657
|
'origin_expired_stamps': origin_expired_stamps(row[25], row[16]),
|
658
|
658
|
'thumbup': get_group_photo_thumbup_flag(row[5], user_id),
|
659
|
659
|
'porder': get_lensman_order_record(row[5], user_id) if row[21] == GroupPhotoInfo.SESSION_GROUP else {},
|
660
|
|
- 'display_payment_btn': row[21] == GroupPhotoInfo.SESSION_GROUP and row[26] not in [GroupPhotoInfo.OUTTAKE],
|
|
660
|
+ 'display_payment_btn': row[21] == GroupPhotoInfo.SESSION_GROUP and row[27] not in [GroupPhotoInfo.OUTTAKE],
|
661
|
661
|
} for row in rows]
|
662
|
662
|
|
663
|
663
|
return response(200, 'Get Home Data Success', u'获取首页数据成功', {
|