mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正APP
This commit is contained in:
@@ -164,7 +164,7 @@ class App
|
|||||||
{
|
{
|
||||||
if (empty($vars)) {
|
if (empty($vars)) {
|
||||||
// 自动获取请求变量
|
// 自动获取请求变量
|
||||||
$vars = Request::param();
|
$vars = Request::instance()->param();
|
||||||
}
|
}
|
||||||
if (is_array($method)) {
|
if (is_array($method)) {
|
||||||
$class = is_object($method[0]) ? $method[0] : new $method[0];
|
$class = is_object($method[0]) ? $method[0] : new $method[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user