chore: 优化全局异常配置,状态信息不再显示原生异常错误信息

This commit is contained in:
2024-08-26 22:06:14 +08:00
parent 9e91f563e2
commit e17d5db0fb
3 changed files with 7 additions and 5 deletions

View File

@@ -61,6 +61,8 @@ continew-starter.web:
default-error-code: 1
# 自定义失败提示默认error
default-error-msg: error
# 是否将原生异常错误信息填充到状态信息中
origin-exception-using-detail-message: false
--- ### 接口文档配置
springdoc: