diff --git a/app/admin/controller/api/Plugs.php b/app/admin/controller/api/Plugs.php index 0ca7643f1..431e02e11 100644 --- a/app/admin/controller/api/Plugs.php +++ b/app/admin/controller/api/Plugs.php @@ -121,7 +121,7 @@ class Plugs extends Controller $this->uptype = input('uptype'); if (!in_array($this->uptype, ['local', 'oss', 'qiniu'])) { $this->uptype = sysconf('storage.type'); - } + }2 return $this->uptype; }