mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-07 03:16:46 +08:00
改进阿里云 oss client 连接方式
This commit is contained in:
parent
b2b1693a2f
commit
2fdb10a60f
@ -275,10 +275,10 @@ class ImageService
|
|||||||
bucket: $configs->get(S3Option::Bucket),
|
bucket: $configs->get(S3Option::Bucket),
|
||||||
),
|
),
|
||||||
StrategyKey::Oss => new OssAdapter(
|
StrategyKey::Oss => new OssAdapter(
|
||||||
client: new OssClient(
|
client: new OssClient($configs->get(
|
||||||
accessKeyId: $configs->get(OssOption::AccessKeyId),
|
OssOption::AccessKeyId),
|
||||||
accessKeySecret: $configs->get(OssOption::AccessKeySecret),
|
$configs->get(OssOption::AccessKeySecret),
|
||||||
endpoint: $configs->get(OssOption::Endpoint),
|
$configs->get(OssOption::Endpoint),
|
||||||
),
|
),
|
||||||
bucket: $configs->get(OssOption::Bucket),
|
bucket: $configs->get(OssOption::Bucket),
|
||||||
),
|
),
|
||||||
|
@ -18,7 +18,7 @@ use App\Enums\Watermark\Mode;
|
|||||||
return [
|
return [
|
||||||
'app' => [
|
'app' => [
|
||||||
ConfigKey::AppName => 'Lsky Pro',
|
ConfigKey::AppName => 'Lsky Pro',
|
||||||
ConfigKey::AppVersion => 'V 2.0.4',
|
ConfigKey::AppVersion => 'V 2.0.5',
|
||||||
ConfigKey::SiteKeywords => 'Lsky Pro,lsky,兰空图床',
|
ConfigKey::SiteKeywords => 'Lsky Pro,lsky,兰空图床',
|
||||||
ConfigKey::SiteDescription => 'Lsky Pro, Your photo album on the cloud.',
|
ConfigKey::SiteDescription => 'Lsky Pro, Your photo album on the cloud.',
|
||||||
ConfigKey::SiteNotice => '',
|
ConfigKey::SiteNotice => '',
|
||||||
|
File diff suppressed because one or more lines are too long
@ -15,8 +15,8 @@
|
|||||||
@stack('styles')
|
@stack('styles')
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/common.css') }}?t=20220427">
|
<link rel="stylesheet" href="{{ asset('css/common.css') }}?t=20220817">
|
||||||
<link rel="stylesheet" href="{{ asset('css/app.css') }}?t=20220427">
|
<link rel="stylesheet" href="{{ asset('css/app.css') }}?t=20220817">
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans antialiased overflow-hidden">
|
<body class="font-sans antialiased overflow-hidden">
|
||||||
<div class="min-h-screen bg-gray-100" x-data x-cloak>
|
<div class="min-h-screen bg-gray-100" x-data x-cloak>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="{{ asset('js/app.js') }}?t=20220427"></script>
|
<script src="{{ asset('js/app.js') }}?t=20220817"></script>
|
||||||
@include('common.notice')
|
@include('common.notice')
|
||||||
<script>
|
<script>
|
||||||
// 开关组件默认值
|
// 开关组件默认值
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
@stack('styles')
|
@stack('styles')
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link rel="stylesheet" href="{{ asset('css/common.css') }}?t=20220427">
|
<link rel="stylesheet" href="{{ asset('css/common.css') }}?t=20220817">
|
||||||
<link rel="stylesheet" href="{{ asset('css/app.css') }}?t=20220427">
|
<link rel="stylesheet" href="{{ asset('css/app.css') }}?t=20220817">
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans antialiased">
|
<body class="font-sans antialiased">
|
||||||
<div class="min-h-screen text-gray-900 bg-gray-100">
|
<div class="min-h-screen text-gray-900 bg-gray-100">
|
||||||
@ -24,7 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="{{ asset('js/app.js') }}?t=20220427"></script>
|
<script src="{{ asset('js/app.js') }}?t=20220817"></script>
|
||||||
@if(file_exists(public_path('js/custom.js')))
|
@if(file_exists(public_path('js/custom.js')))
|
||||||
<script src="{{ asset('js/custom.js') }}"></script>
|
<script src="{{ asset('js/custom.js') }}"></script>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user