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