update code define

This commit is contained in:
2023-11-05 00:57:23 +08:00
parent cd1454d34d
commit be993da6db
4 changed files with 38 additions and 47 deletions

View File

@ -19,10 +19,6 @@ type IException interface {
GetCode() interface{}
// GetMessage *获取错误信息
GetMessage() string
// GetRealReason 获取真实失败原因
GetRealReason() string
// GetSolution 获取解决方案
GetSolution() map[string]interface{}
// GetData 获取异常时的返回数据
GetData() interface{}
// GetHttpCode *获取当前异常要返回的http状态码, 不设置则 默认 200