云储存
This commit is contained in:
parent
6fa1a2ff88
commit
a98d2c3371
|
|
@ -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密钥',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user