Commit 58f6f9f6 by 杨树贤

内存限制问题

parent a2af5d84
Showing with 1 additions and 0 deletions
...@@ -469,6 +469,7 @@ class DataService ...@@ -469,6 +469,7 @@ class DataService
//导出供应商 //导出供应商
public function exportSupplierForUnionData() public function exportSupplierForUnionData()
{ {
ini_set('memory_limit', -1);
$suppliers = SupplierChannelModel::where('is_type', 0)->whereRaw('supplier_name NOT LIKE "%-1"')->get(); $suppliers = SupplierChannelModel::where('is_type', 0)->whereRaw('supplier_name NOT LIKE "%-1"')->get();
$excelData = []; $excelData = [];
$header = [ $header = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment