// +---------------------------------------------------------------------- // +---------------------------------------------------------------------- // | 上传配置 // +---------------------------------------------------------------------- return [ //默认上传模式 'default' => 'local', //上传文件大小 'filesize' => 52428800, //上传文件后缀类型 'fileExt' => ['jpg', 'jpeg', 'png', 'gif','webp', 'pem', 'mp3', 'wma', 'wav', 'amr', 'mp4', 'key','xlsx','xls','ico','avif'], //上传文件类型 'fileMime' => ['image/jpeg', 'image/gif', 'image/png','image/webp', 'text/plain', 'audio/mpeg', 'image/vnd.microsoft.icon','image/avif'], //驱动模式 'stores' => [ //本地上传配置 'local' => [], //七牛云上传配置 'qiniu' => [], //oss上传配置 'oss' => [], //cos上传配置 'cos' => [], //obs华为储存 'obs' => [], //ucloud存储 'us3' => [], //jd 'jdoss' => [], //天翼云 'ctoss' => [], ], 'iamge_fileExt' => ['jpg', 'jpeg', 'png', 'gif','webp','avif'], //上传文件类型 'image_fileMime' => ['image/jpeg', 'image/gif', 'image/png','image/webp', 'image/avif'], ];