1
This commit is contained in:
+3
-3
@@ -36,12 +36,12 @@
|
|||||||
"firebase/php-jwt": "^6.11",
|
"firebase/php-jwt": "^6.11",
|
||||||
"illuminate/database": "^11.44",
|
"illuminate/database": "^11.44",
|
||||||
"phpmailer/phpmailer": "^6.9",
|
"phpmailer/phpmailer": "^6.9",
|
||||||
"shopwwi/webman-filesystem": "^2.0",
|
|
||||||
"iidestiny/flysystem-oss": "^4",
|
|
||||||
"vlucas/phpdotenv": "^5.6",
|
"vlucas/phpdotenv": "^5.6",
|
||||||
"guzzlehttp/guzzle": "^7.9",
|
"guzzlehttp/guzzle": "^7.9",
|
||||||
"webman/cache": "^2.1",
|
"webman/cache": "^2.1",
|
||||||
"workerman/crontab": "^1.0"
|
"workerman/crontab": "^1.0",
|
||||||
|
"shopwwi/webman-filesystem": "1.1",
|
||||||
|
"shopwwi/filesystem-oss": "^1.0"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-event": "For better performance. "
|
"ext-event": "For better performance. "
|
||||||
|
|||||||
Generated
+1403
-327
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,17 @@
|
|||||||
<?php
|
<?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 [
|
return [
|
||||||
'enable' => true,
|
'enable' => true,
|
||||||
@@ -64,21 +77,14 @@ return [
|
|||||||
],
|
],
|
||||||
'oss' => [
|
'oss' => [
|
||||||
'driver' => \Shopwwi\WebmanFilesystem\Adapter\AliyunOssAdapterFactory::class,
|
'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'),
|
'accessKey' => getenv('OSS_ACCESSID'),
|
||||||
'secretKey' => getenv('OSS_ACCESSSECRET'),
|
'secretKey' => getenv('OSS_ACCESSSECRET'),
|
||||||
'bucket' => getenv('OSS_BUCKET'),
|
'bucket' => getenv('OSS_BUCKET'),
|
||||||
'endpoint' => getenv('OSS_ENDPOINT'),
|
'endpoint' => getenv('OSS_ENDPOINT'),
|
||||||
'url' => '', // 静态文件访问域名
|
'url' => '' // 静态文件访问域名
|
||||||
// 'timeout' => 3600,
|
// 'timeout' => 3600,
|
||||||
// 'connectTimeout' => 10,
|
// 'connectTimeout' => 10,
|
||||||
'isCName' => false,
|
// 'isCName' => false,
|
||||||
'prefix' => '',
|
|
||||||
// 'token' => null,
|
// 'token' => null,
|
||||||
// 'proxy' => null,
|
// 'proxy' => null,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user