mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Request类增加bind方法用于动态绑定属性 Route类的模型绑定直接绑定到Request实例对象的属性 便于获取
This commit is contained in:
@@ -1367,7 +1367,7 @@ class Route
|
||||
$bind[$key] = $result;
|
||||
}
|
||||
}
|
||||
$matches = array_merge($matches, $bind);
|
||||
Request::instance()->bind($bind);
|
||||
}
|
||||
|
||||
// 解析额外参数
|
||||
|
||||
Reference in New Issue
Block a user