0
点赞
收藏
分享

微信扫一扫

ThinkPHP3 $this->success,error,show,redirect的URL

ITWYY 2023-03-21 阅读 94


$this->show(U('Index/callFun',array('cate_id'=>1,'status'=>2)));
$this->success("跳转",U("Test/index"));
$this->error("跳转",U("Test/index"));
$this->redirect("Test/index", array("id"=>1),3, "乱码");


-------------------------


redirect使用U方法的话,容易引起错误。




.


举报

相关推荐

0 条评论