mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进redirect
This commit is contained in:
@@ -67,7 +67,7 @@ class Redirect extends Response
|
||||
*/
|
||||
public function getTargetUrl()
|
||||
{
|
||||
return (strpos($this->data, '://') || 0 === strpos($this->data, '/')) ? $this->data : Url::build($this->data, $this->params);
|
||||
return Url::build($this->data, $this->params);
|
||||
}
|
||||
|
||||
public function params($params = [])
|
||||
|
||||
Reference in New Issue
Block a user