From 37265293c91354db4a74c6b26a1860f65b021183 Mon Sep 17 00:00:00 2001 From: liuyu <33367671@qq.com> Date: Fri, 8 Jul 2022 18:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=94=9F=E6=88=90=E5=BE=85?= =?UTF-8?q?=E5=8F=91=E8=B4=A7excel=20csv=E6=A0=BC=E5=BC=8F=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- control/index.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/control/index.php b/control/index.php index 30ed273..1458db7 100644 --- a/control/index.php +++ b/control/index.php @@ -88,7 +88,6 @@ class index extends publicBase { } $filepath = $filedir."{$uid}_{$shop_id}_".date("YmdHis").".xlsx"; - ob_get_clean(); ob_start(); echo "订单号\t\n"; @@ -110,26 +109,6 @@ class index extends publicBase { exit(); - - // $filepath = $filedir."{$uid}_{$shop_id}_".date("YmdHis").".csv"; - - // $file = fopen($filepath, 'w'); - // fwrite($file, "订单号\t\n"); - // fwrite($file, "order_sn\t\n"); - - // for ($page=1;;$page++) { - // $list = $obj->getOrderList($uid, $shop_id, ORDER_STATUS_WAIT_DELIVER_GOODS, REFUND_STATUS_NO_AFTER_SALES, $page, 1000); - // if (empty($list)) break; - - // foreach ($list as $info) { - // fwrite($file, $info['order_sn']."\t\n"); - // } - // } - // fclose($file); - - // $obj->downFileChunk($filepath, $shopinfo['name'].'_待发货订单.csv'); - // exit(); - } }