mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-02 05:31:36 +08:00
改进Route类
This commit is contained in:
@@ -645,7 +645,7 @@ class Route
|
||||
$key = array_shift($route);
|
||||
}
|
||||
|
||||
$key = $rule . ($key ? '/' . $key : '');
|
||||
$key = $rule . ($key ? '/' . ltrim($key, '/') : '');
|
||||
// 检查规则路由
|
||||
if (is_array($route)) {
|
||||
$option1 = $route[1];
|
||||
|
||||
Reference in New Issue
Block a user