|
@@ -153,7 +153,7 @@ def get_channel_overview(channel,pitcher,start,end,page,page_size,order_by,order
|
|
print(sql)
|
|
print(sql)
|
|
|
|
|
|
key=['channel','date','view_count','click_count','click_rate','follow_user','follow_rate','follow_per_cost','order_rate','order_per_cost','cost',
|
|
key=['channel','date','view_count','click_count','click_rate','follow_user','follow_rate','follow_per_cost','order_rate','order_per_cost','cost',
|
|
- 'first_order_count','first_order_user','first_order_amount','order_count','order_user','order_amount','old_order_amount','first_amount_per_user','amount_per_follow','first_cost_per_user'
|
|
|
|
|
|
+ 'first_order_count','first_order_user','first_order_amount','order_count','order_user','order_amount','old_order_amount','first_amount_per_user','amount_per_follow','first_cost_per_user',
|
|
'new_user_order_rate','reg_user_amount','total_cost','total_amount','day_roi','all_roi','avg_new_order_rate','old_user_once_order_rate']
|
|
'new_user_order_rate','reg_user_amount','total_cost','total_amount','day_roi','all_roi','avg_new_order_rate','old_user_once_order_rate']
|
|
|
|
|
|
return get_dict_list(key,get_round(ck.execute(sql))),total
|
|
return get_dict_list(key,get_round(ck.execute(sql))),total
|