|
@@ -110,7 +110,7 @@ class OrderView(View):
|
|
|
"updTime", "paypal", "rank__day", "payType",
|
|
|
"rank__price", "status",
|
|
|
"rank__content", "rank__title", "rank__currency",
|
|
|
- "rank_id")
|
|
|
+ "rank_id","rank__expire")
|
|
|
order_list = list(order_ql)
|
|
|
data = []
|
|
|
nowTime = int(time.time())
|
|
@@ -128,6 +128,7 @@ class OrderView(View):
|
|
|
d['did'] = did['id']
|
|
|
d['Type'] = did['Type']
|
|
|
data.append(d)
|
|
|
+ d['rank__expire_unit'] = '月' if lang == 'cn' else 'month'
|
|
|
return response.json(0, {'data': data, 'count': count})
|
|
|
|
|
|
# admins ^^^^^^^^^^^^
|