This commit is contained in:
2025-07-28 18:00:52 +08:00
parent 4ef9784559
commit 601c299c2b
3 changed files with 1421 additions and 339 deletions
+3 -3
View File
@@ -36,12 +36,12 @@
"firebase/php-jwt": "^6.11",
"illuminate/database": "^11.44",
"phpmailer/phpmailer": "^6.9",
"shopwwi/webman-filesystem": "^2.0",
"iidestiny/flysystem-oss": "^4",
"vlucas/phpdotenv": "^5.6",
"guzzlehttp/guzzle": "^7.9",
"webman/cache": "^2.1",
"workerman/crontab": "^1.0"
"workerman/crontab": "^1.0",
"shopwwi/webman-filesystem": "1.1",
"shopwwi/filesystem-oss": "^1.0"
},
"suggest": {
"ext-event": "For better performance. "
Generated
+1403 -327
View File
File diff suppressed because it is too large Load Diff
+15 -9
View File
@@ -1,4 +1,17 @@
<?php
/**
*-------------------------------------------------------------------------p*
* 配置文件
*-------------------------------------------------------------------------h*
* @copyright Copyright (c) 2015-2022 Shopwwi Inc. (http://www.shopwwi.com)
*-------------------------------------------------------------------------c*
* @license http://www.shopwwi.com s h o p w w i . c o m
*-------------------------------------------------------------------------e*
* @link http://www.shopwwi.com by 象讯科技 phcent.com
*-------------------------------------------------------------------------n*
* @since shopwwi象讯·PHP商城系统Pro
*-------------------------------------------------------------------------t*
*/
return [
'enable' => true,
@@ -64,21 +77,14 @@ return [
],
'oss' => [
'driver' => \Shopwwi\WebmanFilesystem\Adapter\AliyunOssAdapterFactory::class,
// 'accessId' => 'OSS_ACCESS_ID',
// 'accessSecret' => 'OSS_ACCESS_SECRET',
// 'bucket' => 'OSS_BUCKET',
// 'endpoint' => 'OSS_ENDPOINT',
// 'url' => '', // 静态文件访问域名
'accessKey' => getenv('OSS_ACCESSID'),
'secretKey' => getenv('OSS_ACCESSSECRET'),
'bucket' => getenv('OSS_BUCKET'),
'endpoint' => getenv('OSS_ENDPOINT'),
'url' => '', // 静态文件访问域名
'url' => '' // 静态文件访问域名
// 'timeout' => 3600,
// 'connectTimeout' => 10,
'isCName' => false,
'prefix' => '',
// 'isCName' => false,
// 'token' => null,
// 'proxy' => null,
],