From a98d2c3371cba7a9bd3ca144402318324dcf0b49 Mon Sep 17 00:00:00 2001 From: hantao Date: Mon, 4 Aug 2025 18:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=91=E5=82=A8=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/cos/config.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/addons/cos/config.php b/addons/cos/config.php index 3393bc4..870473f 100644 --- a/addons/cos/config.php +++ b/addons/cos/config.php @@ -1,5 +1,7 @@ 'appId', @@ -18,7 +20,7 @@ return [ 'title' => 'SecretId', 'type' => 'string', 'content' => [], - 'value' => getenv('oss.secret'), + 'value' => Env::get('oss.secret'), 'rule' => 'required', 'msg' => '', 'tip' => '请前往腾讯控制台 > 访问管理 > API密钥', @@ -30,7 +32,7 @@ return [ 'title' => 'SecretKey', 'type' => 'string', 'content' => [], - 'value' => getenv('oss_key'), + 'value' => Env::get('oss_key'), 'rule' => 'required', 'msg' => '', 'tip' => '请前往腾讯控制台 > 访问管理 > API密钥',