mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-19 20:57:21 +08:00
chore: 优化接口默认失败、成功提示
This commit is contained in:
@@ -142,11 +142,11 @@ continew-starter.web.response:
|
||||
# 自定义成功响应码(默认:0)
|
||||
default-success-code: 0
|
||||
# 自定义成功提示(默认:ok)
|
||||
default-success-msg: ok
|
||||
default-success-msg: 操作成功
|
||||
# 自定义失败响应码(默认:1)
|
||||
default-error-code: 1
|
||||
# 自定义失败提示(默认:error)
|
||||
default-error-msg: error
|
||||
default-error-msg: 服务器异常,请联系管理员
|
||||
# 是否将原生异常错误信息填充到状态信息中
|
||||
origin-exception-using-detail-message: false
|
||||
# 响应类全名(配置后 response-style 将不再生效)
|
||||
|
Reference in New Issue
Block a user