feat: 新增阿里 oss 上传组件

This commit is contained in:
JaguarJack
2023-02-21 17:16:52 +08:00
parent ef6a1204a9
commit 0351f61038
6 changed files with 205 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
<?php
return [
// 文件最大
'max_size' => 10 * 1024 * 1024,
// oss 配置
'oss' => [
'bucket' => env('ALIOSS_BUCKET'),
'access_id' => env('ALIOSS_ACCESS_ID'),
'access_secret' => env('ALIOSS_ACCESS_SECRET'),
'endpoint' => env('ALIOSS_ENDPOINT'),
'dir' => env('ALIOSS_UPLOAD_DIR')
],
];