云储存

This commit is contained in:
hantao 2025-08-04 18:06:13 +08:00
parent 6fa1a2ff88
commit a98d2c3371

View File

@ -1,5 +1,7 @@
<?php <?php
use think\Env;
return [ return [
[ [
'name' => 'appId', 'name' => 'appId',
@ -18,7 +20,7 @@ return [
'title' => 'SecretId', 'title' => 'SecretId',
'type' => 'string', 'type' => 'string',
'content' => [], 'content' => [],
'value' => getenv('oss.secret'), 'value' => Env::get('oss.secret'),
'rule' => 'required', 'rule' => 'required',
'msg' => '', 'msg' => '',
'tip' => '请前往腾讯控制台 > 访问管理 > API密钥', 'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',
@ -30,7 +32,7 @@ return [
'title' => 'SecretKey', 'title' => 'SecretKey',
'type' => 'string', 'type' => 'string',
'content' => [], 'content' => [],
'value' => getenv('oss_key'), 'value' => Env::get('oss_key'),
'rule' => 'required', 'rule' => 'required',
'msg' => '', 'msg' => '',
'tip' => '请前往腾讯控制台 > 访问管理 > API密钥', 'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',