ThinkPHP3 $this->success,error,show,redirect的URL
————————-
redirect使用U方法的话,容易引起错误。
ThinkPHP3 $this->success,error,show,redirect的URL
|
1 2 3 4 5 |
Java代码 $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方法的话,容易引起错误。

做自己喜欢做的,跟家人同等重要