【新增】yudao.error-code.enable 错误码的开关,默认在 local 环境关闭自动生成错误码

This commit is contained in:
YunaiV
2022-06-25 11:10:09 +08:00
parent 383ff130b9
commit b47e5d4c5d
4 changed files with 10 additions and 0 deletions

View File

@@ -136,4 +136,6 @@ yudao:
- ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求
access-log: # 访问日志的配置项
enable: false
error-code: # 错误码相关配置项
enable: false
demo: false # 关闭演示模式