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

@ -36,14 +36,6 @@ func (e *Exception) GetMessage() string {
return e.message
}
func (e *Exception) GetRealReason() string {
return getReason(e.GetCode())
}
func (e *Exception) GetSolution() map[string]interface{} {
return getSolution(e.GetCode())
}
func (e *Exception) GetData() interface{} {
return e.data
}