diff --git a/app/portal/controller/TestController.php b/app/portal/controller/TestController.php index c07c0ce..6caf125 100644 --- a/app/portal/controller/TestController.php +++ b/app/portal/controller/TestController.php @@ -85,11 +85,11 @@ class TestController extends HomeBaseController //创建对象 $excel = new \PHPExcel(); //Excel表格式,这里简略写了8列 - $letter = array('A', 'B', 'C', 'D', 'E', 'F', 'F', 'G','H','I','J','k','L','M','N'); + $letter = array('A', 'B', 'C', 'D', 'E', 'F', 'F', 'G','H','I','J','k','L','M'); $excel->getActiveSheet()->setCellValue("A1", "业务员名称"); $excel->getActiveSheet()->setCellValue("B1", $user['user_nickname']); //表头数组 - $tableheader = array('订单号', '价钱', '数量', '姓名', '电话', '学校-班级', '订单状态', '创建时间', '支付时间', '配送时间', '地区', '备用地址', + $tableheader = array('订单号', '价钱', '数量', '姓名', '电话', '学校-班级', '订单状态', '创建时间', '支付时间', '配送时间', '地区', '应得收益', '实际收益', '是否异常'); //填充表头信息 for ($i = 0; $i < count($tableheader); $i++) {