ck 4 년 전
부모
커밋
7eae056fcd
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      data_manage/pitcher_panel.py
  2. 1 1
      urls.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -153,7 +153,7 @@ def get_channel_overview(channel,pitcher,start,end,page,page_size,order_by,order
     print(sql)
 
     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',
+         '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']
 
     return get_dict_list(key,get_round(ck.execute(sql))),total

+ 1 - 1
urls.py

@@ -7,7 +7,7 @@ urls = [
     (r'/data/pitcher_panel/daily', PitcherPanelDaily),# 日期汇总
     (r'/data/pitcher_panel/overview', PitcherPanelOverview), # 投手今天概况
     (r'/api/get_yangguang_data',YgApiHandler), # 阳光订单回调接口
-    (r'/data/channel_stat/overview',ChannelOverview), # 公众号整体概况
+    (r'/data/channel_stat/overview',ChannelOverview), # 公众号广告投放数据
     (r'/data/channel_stat/again_order_trend',ChannelAgainOrderTrend), # 公众号复冲趋势
     (r'/data/channel_stat/active',ChannelActive), # 公众号激活数据
     (r'/data/channel_stat/order_trend',ChannelOrderTrend), # 公众号趋势