mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 23:52:49 +08:00
error和success方法的参数顺序调整
This commit is contained in:
@@ -22,12 +22,12 @@ trait Jump
|
|||||||
* 操作错误跳转的快捷方法
|
* 操作错误跳转的快捷方法
|
||||||
* @access public
|
* @access public
|
||||||
* @param mixed $msg 提示信息
|
* @param mixed $msg 提示信息
|
||||||
* @param mixed $data 返回的数据
|
|
||||||
* @param mixed $url 跳转的URL地址
|
* @param mixed $url 跳转的URL地址
|
||||||
|
* @param mixed $data 返回的数据
|
||||||
* @param mixed $wait 跳转等待时间
|
* @param mixed $wait 跳转等待时间
|
||||||
* @return mixed
|
* @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);
|
return Response::error($msg, $data, $url, $wait);
|
||||||
}
|
}
|
||||||
@@ -36,12 +36,12 @@ trait Jump
|
|||||||
* 操作成功跳转的快捷方法
|
* 操作成功跳转的快捷方法
|
||||||
* @access public
|
* @access public
|
||||||
* @param mixed $msg 提示信息
|
* @param mixed $msg 提示信息
|
||||||
* @param mixed $data 返回的数据
|
|
||||||
* @param mixed $url 跳转的URL地址
|
* @param mixed $url 跳转的URL地址
|
||||||
|
* @param mixed $data 返回的数据
|
||||||
* @param mixed $wait 跳转等待时间
|
* @param mixed $wait 跳转等待时间
|
||||||
* @return mixed
|
* @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);
|
return Response::success($msg, $data, $url, $wait);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user