mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
修正
This commit is contained in:
@@ -43,7 +43,7 @@ class Url
|
|||||||
// 检测是否存在路由别名
|
// 检测是否存在路由别名
|
||||||
if ($aliasUrl = Route::getRouteUrl($url, $vars)) {
|
if ($aliasUrl = Route::getRouteUrl($url, $vars)) {
|
||||||
// 存在别名定义则优先
|
// 存在别名定义则优先
|
||||||
return $aliasUrl;
|
$url = $aliasUrl;
|
||||||
} else {
|
} else {
|
||||||
// 检测路由
|
// 检测路由
|
||||||
$match = self::checkRoute($url, $vars, $domain);
|
$match = self::checkRoute($url, $vars, $domain);
|
||||||
|
|||||||
Reference in New Issue
Block a user