From bd6700acde2112ea1009751bef5a70c06339065c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=97=A0=E5=BF=83?= <448901948@qq.com> Date: Mon, 28 Nov 2016 16:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/response/Redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/response/Redirect.php b/library/think/response/Redirect.php index 4d06a24d..a3104c2f 100644 --- a/library/think/response/Redirect.php +++ b/library/think/response/Redirect.php @@ -80,7 +80,7 @@ class Redirect extends Response * 记住当前url后跳转 * @return $this */ - public function restore() + public function remember() { Session::set('redirect_url', Request::instance()->url()); return $this;