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

 

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

posted on 2021-01-26 06:32  garfieldtom  阅读(434)  评论(0编辑  收藏  举报