From 98e9f8ebfb6f16e20a787c9768fed3dae62c0d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Tue, 16 Jul 2024 19:06:22 +0800 Subject: [PATCH] order --- common/libraries/Excel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/libraries/Excel.php b/common/libraries/Excel.php index 586cae82..6d211642 100644 --- a/common/libraries/Excel.php +++ b/common/libraries/Excel.php @@ -147,7 +147,7 @@ class Excel extends PHPExcel $row = array(); foreach ($indexs_key as $col) { - if (in_array($col, array('sid', 'refund_no')) && is_numeric($v[$col])) { + if (in_array($col, array('sid', 'refund_no', 'id_card')) && is_numeric($v[$col])) { $row[] = iconv('utf-8', 'GBK//IGNORE', "=\"{$v[$col]}\""); } else { $row[] = iconv('utf-8', 'GBK//IGNORE', $v[$col]);