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

$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方法的话,容易引起错误。



















.

你可能感兴趣的:(thinkphp)