Update Plugs.php

This commit is contained in:
Anyon 2019-11-01 18:52:49 +08:00
parent ea7eca04dc
commit 1ec518849c

View File

@ -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;
}