mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正traits\controller/Jump.php
This commit is contained in:
@@ -29,7 +29,7 @@ trait Jump
|
||||
* @param integer $wait 跳转等待时间
|
||||
* @return void
|
||||
*/
|
||||
public static function success($msg = '', $url = null, $data = '', $wait = 3)
|
||||
public function success($msg = '', $url = null, $data = '', $wait = 3)
|
||||
{
|
||||
$code = 1;
|
||||
if (is_numeric($msg)) {
|
||||
@@ -62,7 +62,7 @@ trait Jump
|
||||
* @param integer $wait 跳转等待时间
|
||||
* @return void
|
||||
*/
|
||||
public static function error($msg = '', $url = null, $data = '', $wait = 3)
|
||||
public function error($msg = '', $url = null, $data = '', $wait = 3)
|
||||
{
|
||||
$code = 0;
|
||||
if (is_numeric($msg)) {
|
||||
|
||||
Reference in New Issue
Block a user