|
@@ -15,13 +15,15 @@ return [
|
|
|
//上传文件大小
|
|
//上传文件大小
|
|
|
'filesize' => 2097152,
|
|
'filesize' => 2097152,
|
|
|
//上传文件后缀类型
|
|
//上传文件后缀类型
|
|
|
- 'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'txt', 'ico'],
|
|
|
|
|
|
|
+ 'fileExt' => ['jpg', 'jpeg', 'png', 'gif', 'svg', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key', 'xlsx', 'xls', 'txt', 'ico'],
|
|
|
//上传文件类型
|
|
//上传文件类型
|
|
|
'fileMime' => [
|
|
'fileMime' => [
|
|
|
'image/jpg',
|
|
'image/jpg',
|
|
|
'image/jpeg',
|
|
'image/jpeg',
|
|
|
'image/gif',
|
|
'image/gif',
|
|
|
'image/png',
|
|
'image/png',
|
|
|
|
|
+ 'image/svg',
|
|
|
|
|
+ 'image/svg+xml',
|
|
|
'text/plain',
|
|
'text/plain',
|
|
|
'audio/mpeg',
|
|
'audio/mpeg',
|
|
|
'video/mp4',
|
|
'video/mp4',
|
|
@@ -36,6 +38,7 @@ return [
|
|
|
'image/x-icon',
|
|
'image/x-icon',
|
|
|
'image/vnd.microsoft.icon',
|
|
'image/vnd.microsoft.icon',
|
|
|
'application/x-x509-ca-cert',
|
|
'application/x-x509-ca-cert',
|
|
|
|
|
+ 'application/x-pem-file',
|
|
|
],
|
|
],
|
|
|
//驱动模式,此配置优先与后台配置,后台添加配置请加前缀,例如添加七牛云配置:accessKey 后台添加变量名 qiniu_accessKey
|
|
//驱动模式,此配置优先与后台配置,后台添加配置请加前缀,例如添加七牛云配置:accessKey 后台添加变量名 qiniu_accessKey
|
|
|
'stores' => [
|
|
'stores' => [
|