Commit bc5dd172 authored by zhaopeng343's avatar zhaopeng343

修改上传文件支持CSV

parent 57204a25
......@@ -21,7 +21,7 @@ class UploadManager
'path' => 'default', // 默认保存路径
'maxSize' => 100000000, // 文件大小
'temp' => false, // 是否为临时文件
'mime' => ['jpeg', 'png', 'gif', 'jpg', 'svg', 'txt', 'pdf', 'xlsx', 'xls', 'doc', 'docx', 'rar', 'zip'], // 允许上传的文件类型
'mime' => ['jpeg', 'png', 'gif', 'jpg', 'svg', 'txt', 'pdf', 'xlsx', 'xls', 'doc', 'docx', 'rar', 'zip','csv'], // 允许上传的文件类型
];
/**
......
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 to comment