mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Config.php
This commit is contained in:
parent
c9341282b3
commit
eff50374f1
@ -90,13 +90,9 @@ class Config extends Controller
|
|||||||
$this->_applyFormToken();
|
$this->_applyFormToken();
|
||||||
if ($this->request->isGet()) {
|
if ($this->request->isGet()) {
|
||||||
$this->type = input('type', 'local');
|
$this->type = input('type', 'local');
|
||||||
if ($this->type === 'alioss') {
|
if ($this->type === 'alioss') $this->points = AliossStorage::region();
|
||||||
$this->points = AliossStorage::region();
|
elseif ($this->type === 'qiniu') $this->points = QiniuStorage::region();
|
||||||
} elseif ($this->type === 'txcos') {
|
elseif ($this->type === 'txcos') $this->points = TxcosStorage::region();
|
||||||
$this->points = TxcosStorage::region();
|
|
||||||
} elseif ($this->type === 'qiniu') {
|
|
||||||
$this->points = QiniuStorage::region();
|
|
||||||
}
|
|
||||||
$this->fetch("storage-{$this->type}");
|
$this->fetch("storage-{$this->type}");
|
||||||
} else {
|
} else {
|
||||||
$post = $this->request->post();
|
$post = $this->request->post();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user