mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -39,6 +39,16 @@ class Redirect extends Response
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取跳转地址
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getTargetUrl()
|
||||||
|
{
|
||||||
|
$this->getContent();
|
||||||
|
return $this->header['Location'];
|
||||||
|
}
|
||||||
|
|
||||||
public function params($params = [])
|
public function params($params = [])
|
||||||
{
|
{
|
||||||
$this->params = $params;
|
$this->params = $params;
|
||||||
|
|||||||
Reference in New Issue
Block a user