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(); - } }