From b9f055e052e36038c0f06b4938fa8baa9b627f6d Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Tue, 30 Jun 2020 07:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/catch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/catch.php b/config/catch.php index 5cb8e11..8f5abb8 100644 --- a/config/catch.php +++ b/config/catch.php @@ -63,6 +63,6 @@ return [ */ 'upload' => [ 'image' => 'fileSize:' . 1024 * 1024 * 5 . '|fileExt:jpg,png,gif,jpeg', - 'file' => 'fileSize:' . 1024 * 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html' + 'file' => 'fileSize:' . 1024 * 1024 * 10 . '|fileExt:txt,pdf,xlsx,xls,html,mp4,mp3,amr' ], ];