mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor:默认不再允许上传pdf格式的文件
This commit is contained in:
parent
116e73e90d
commit
cc9910593b
@ -9,5 +9,5 @@ return [
|
||||
// 文件保存格式化方法
|
||||
'savename' => '/storage/{topic}/{year}{mon}{day}/{filesha1}{.suffix}',
|
||||
// 文件格式限制
|
||||
'mimetype' => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,xls,xlsx,doc,docx,wav,mp4,mp3,pdf,txt',
|
||||
'mimetype' => 'jpg,png,bmp,jpeg,gif,webp,zip,rar,xls,xlsx,doc,docx,wav,mp4,mp3,txt',
|
||||
];
|
Loading…
Reference in New Issue
Block a user