sunhao 5 years ago
parent
commit
b62a9192b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Console/Commands/DisRoiByDay.php

+ 1 - 0
app/Console/Commands/DisRoiByDay.php

@@ -56,6 +56,7 @@ class DisRoiByDay extends Command {
56 56
                 //$v['total_roi'] = $v['total_cost']>0 ? round($v['order_amount'] / $v['total_cost'], 4) * 100 .'%' : '';
57 57
                 $data['fan_count'] = count($phones);
58 58
                 $data['gzh_count'] = $v['conversion_times'];
59
+                $data['cost'] = $v['total_cost'];
59 60
                 //插入数据
60 61
                 $res = $this->insertData($data);
61 62
             }