|
|
@@ -286,7 +286,7 @@ def lensman_brief_api(request):
|
286
|
286
|
orders, left = pagination(orders, 1, 10)
|
287
|
287
|
orders = [order.data(user_id) for order in orders]
|
288
|
288
|
|
289
|
|
- data = {
|
|
289
|
+ return response(200, 'Get Lensman Brief Success', u'获取摄影师简报成功', {
|
290
|
290
|
'today_income': today_income,
|
291
|
291
|
'today_upload': today_upload,
|
292
|
292
|
'avg_income': int(today_income / (today_upload + 1)),
|
|
|
@@ -294,6 +294,4 @@ def lensman_brief_api(request):
|
294
|
294
|
'system': systems,
|
295
|
295
|
'orders': orders,
|
296
|
296
|
}
|
297
|
|
- }
|
298
|
|
-
|
299
|
|
- return response(200, 'Get Lensman Brief Success', u'获取摄影师简报成功', data)
|
|
297
|
+ })
|