重定向
base_controller提供了redirect方法。
$this->redirect('http://heartphp.com/login/index');
base_controller提供了show_message方法。
$this->show_message('操作成功.', '信息提示', 'http://heartphp/login/index', 3);
上面方法 3秒自动跳转
base_controller提供了redirect方法。
$this->redirect('http://heartphp.com/login/index');
base_controller提供了show_message方法。
$this->show_message('操作成功.', '信息提示', 'http://heartphp/login/index', 3);
上面方法 3秒自动跳转