1、跳转提示

Aiiphp内部提供简单跳转提示方法,包括:成功跳转,失败跳转,直接跳转

1.1成功跳转

 $this->success("成功了","http://baidu.com",100);

1.2失败跳转

$this->error("失败了","http://baidu.com",100);

1.3直接跳转

$this->redirect($url,$params=array(),$delay=0,$msg='')

例如

$this->redirect("member/login",array('a'=>1),100,'我是跳转提示了');

results matching ""

    No results matching ""