|
@@ -4669,8 +4669,8 @@ class StatisticsController extends Controller
|
4669
|
4669
|
}
|
4670
|
4670
|
$result = array_merge([$data], $result);
|
4671
|
4671
|
|
4672
|
|
- $indexKey = ['idate','throw_cost','cust_count','order_count','order_amount','goods_cost', 'freight_cost', 'aftersale_cost', 'refund_fee', 'profit', 'roi'];
|
4673
|
|
- $title = ['汇总日期', '总投放', '总客户数', '总下单数', '总销售额', '总货品成本', '总运费成本', '总售后', '总退补', '总毛利', '累计ROI'];
|
|
4672
|
+ $indexKey = ['idate','throw_cost','cust_count','order_count','order_amount','goods_cost', 'freight_cost', 'aftersale_cost', 'refund_fee', 'profit', 'roi', 'fan_count', 'new_order_count', 'old_order_count', 'fugou_order_count', 'fugou_rate'];
|
|
4673
|
+ $title = ['汇总日期', '总投放', '总客户数', '总下单数', '总销售额', '总货品成本', '总运费成本', '总售后', '总退补', '总毛利', '累计ROI', '总加粉数', '总新粉单数', '总老粉单数', '总复购单数', '总复购率'];
|
4674
|
4674
|
$filename = 'huizongshuj_'.date('Y-m-d_H').'.xlsx';
|
4675
|
4675
|
return Order::export_excel($result, $filename, $indexKey, $title);
|
4676
|
4676
|
}
|