1,/cofig/project.php 设置允许的文件后缀
2,
\app\commonlservice\UploadService.php
// 校验上传文件后缀
$limit = array_merge(config('project.file_image'), config('project.file_video'), config('project.file_excel'), config('project.file_files'));
if (!in_array(strtolower($this->file->extension()), $limit)) {
throw new Exception('不允许上传' . $this->file->extension() . '后缀文件');