tp5.0 header 不跳转

浏览:3430 发布日期:2017/01/04 分类:ThinkPHP5专区
直接使用是没问题的:<?php
        header("Location:http://172.21.73.109/tp502/public/index.php/index/userc/build");
?>
但是放到tp5.0的controller里调用则不会跳转:public function del()
    {
        header("Location:http://172.21.73.109/tp502/public/index.php/index/userc/build");
    }
这是怎么回事儿捏?
最佳答案
评论( 相关
后面还有条评论,点击查看>>