设置过路由的路径,原路径无法使用,会提示SERV:invalid request
由think\route\dispatch\Url中的hasDefinedRoute方法决定
if ($this->rule->getRouter()->getName($name, $host, $method) || $this->rule->getRouter()->getName($name2, $host, $method)) {
return true;
}
设置过路由的路径,原路径无法使用,会提示SERV:invalid request
由think\route\dispatch\Url中的hasDefinedRoute方法决定
if ($this->rule->getRouter()->getName($name, $host, $method) || $this->rule->getRouter()->getName($name2, $host, $method)) {
return true;
}