print_r(get_defined_constants(true));
redirect('/New/category/cate_id/2', 5, '页面跳转中...')
$this->redirect('/Index/index');
如果你仅仅是想重定向要一个指定的URL地址,而不是到某个模块的操作方法,可以直接使用redirect函数重定向,例如: redirect('/New/category/cate_id/2', 5, '页面跳转中...') 试试看
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧