From 5a319ed17887c3a4f313b7d23c3903c6e30fb121 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 12 Feb 2016 13:04:54 +0800 Subject: [PATCH] =?UTF-8?q?error=E5=92=8Csuccess=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0=E9=A1=BA=E5=BA=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/traits/controller/Jump.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/traits/controller/Jump.php b/library/traits/controller/Jump.php index 5ed934cd..c0a67b60 100644 --- a/library/traits/controller/Jump.php +++ b/library/traits/controller/Jump.php @@ -22,12 +22,12 @@ trait Jump * 操作错误跳转的快捷方法 * @access public * @param mixed $msg 提示信息 - * @param mixed $data 返回的数据 * @param mixed $url 跳转的URL地址 + * @param mixed $data 返回的数据 * @param mixed $wait 跳转等待时间 * @return mixed */ - public function error($msg = '', $data = '', $url = '', $wait = 3) + public function error($msg = '', $url = '', $data = '', $wait = 3) { return Response::error($msg, $data, $url, $wait); } @@ -36,12 +36,12 @@ trait Jump * 操作成功跳转的快捷方法 * @access public * @param mixed $msg 提示信息 - * @param mixed $data 返回的数据 * @param mixed $url 跳转的URL地址 + * @param mixed $data 返回的数据 * @param mixed $wait 跳转等待时间 * @return mixed */ - public function success($msg = '', $data = '', $url = '', $wait = 3) + public function success($msg = '', $url = '', $data = '', $wait = 3) { return Response::success($msg, $data, $url, $wait); }