mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
增加response_start标签位 路由增加response方法用于绑定response处理行为
This commit is contained in:
@@ -1449,6 +1449,10 @@ class Route
|
||||
$request->bind($bind);
|
||||
}
|
||||
|
||||
if (!empty($option['response'])) {
|
||||
Hook::add('response_start', $option['response']);
|
||||
}
|
||||
|
||||
// 解析额外参数
|
||||
self::parseUrlParams(empty($paths) ? '' : implode('|', $paths), $matches);
|
||||
// 记录匹配的路由信息
|
||||
|
||||
Reference in New Issue
Block a user