Browse Source

Merge pull request '删除生成待发货excel csv格式文件代码' (#6) from 20220708_incr_orders_interval_five_minute into master

Reviewed-on: #6
pull/10/head
liuyu 3 years ago
parent
commit
d2d16bcf8d
  1. 21
      control/index.php

21
control/index.php

@ -88,7 +88,6 @@ class index extends publicBase {
} }
$filepath = $filedir."{$uid}_{$shop_id}_".date("YmdHis").".xlsx"; $filepath = $filedir."{$uid}_{$shop_id}_".date("YmdHis").".xlsx";
ob_get_clean(); ob_get_clean();
ob_start(); ob_start();
echo "订单号\t\n"; echo "订单号\t\n";
@ -110,26 +109,6 @@ class index extends publicBase {
exit(); 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();
} }
} }

Loading…
Cancel
Save