作者 刘朕
1 个管道 的构建 通过 耗费 2 秒

数据导出调试

... ... @@ -110,10 +110,10 @@ class TestController extends HomeBaseController
$letter = array('A', 'B', 'C', 'D', 'E', 'F', 'F', 'G','H','I','J','k','L','M');
$excel->getActiveSheet()->setCellValue("A1", "用户id");
$excel->getActiveSheet()->setCellValue("B1", $user['id']);
$excel->getActiveSheet()->setCellValue("A1", "业务员id");
$excel->getActiveSheet()->setCellValue("B1", $user['my_user_id']);
$excel->getActiveSheet()->setCellValue("A1", "业务员名称");
$excel->getActiveSheet()->setCellValue("B1", $user['user_nickname']);
$excel->getActiveSheet()->setCellValue("C1", "业务员id");
$excel->getActiveSheet()->setCellValue("D1", $user['my_user_id']);
$excel->getActiveSheet()->setCellValue("E1", "业务员名称");
$excel->getActiveSheet()->setCellValue("F1", $user['user_nickname']);
//表头数组
$tableheader = array('订单号', '价钱', '数量', '姓名', '电话', '学校-班级', '订单状态', '创建时间', '支付时间', '配送时间', '地区',
'应得收益', '实际收益', '是否异常');
... ...