1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > php导出excel表格 打不开 phpspreadsheet 导出的EXCEL 文件打不开

php导出excel表格 打不开 phpspreadsheet 导出的EXCEL 文件打不开

时间:2019-12-26 10:39:59

相关推荐

php导出excel表格 打不开 phpspreadsheet 导出的EXCEL 文件打不开

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 =

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。