PHP 版本7.1.3我输入 网址http://localhost/fast/vendor/phpoffice/phpspreadsheet/samples/Basic/01_Simple_download_xlsx.php
我写再controller 里面导出的文件无法访问<?php
namespace app\admin\controller\customer;
use app\common\controller\Backend;
use think\Db;
use think\Session;
use think\Config;
use PhpOffice\PhpSpreadsheet\IOFactory;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
/**
* 我的全部客户
*
* @icon fa fa-circle-o
*/
class Customer extends Backend
{
/**
* Customer模型对象
*/
protected $model = null;
protected $searchFields = f_user_name,f_user_tel,f_community,f_address,f_submit_user;
protected $childrenAdminIds =