如果想要隐藏ThinkPHP返回错误信息中的具体内容,可以修改ThinkPHP的默认错误页面,在文件

 

vendor\topthink\framework\src\tpl\think_exception.tpl中,可以修改这个模板。

相关文章: