TP5中$this->error()出错问题

浏览:3199 发布日期:2016/08/04 分类:ThinkPHP5专区
语句:$this->error('密码不对');
错误提示:
think\exception\HttpResponseException: in d:\tp5\thinkphp\library\traits\controller\Jump.php on line 100
1、改成这样:return $this->error('密码不对'); 还是错误。
2、在config.php里边加入这一句:'response_auto_output' => false, 问题依旧。
最佳答案
评论() 相关
后面还有条评论,点击查看>>