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); }