thinkphp的几种跳转方法

xiaoxiao2021-02-28  65

1、$this->redirect('跳转链接', array(), 停留时间, '消息');

2、成功跳转

$this->success('消息', '跳转链接', 停留时间);

3、失败跳转(没有写地址,从哪来就往哪去)

$this->error('消息');

转载请注明原文地址: https://www.6miu.com/read-37365.html

最新回复(0)