refactor:默认不再允许上传pdf格式的文件

This commit is contained in:
妙码生花 2022-12-15 00:13:55 +08:00
parent 116e73e90d
commit cc9910593b

View File

@ -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',
];