更新data数据结构

This commit is contained in:
2022-06-26 12:55:09 +08:00
parent 42a85f7b80
commit 282f54bb73
3 changed files with 27 additions and 3 deletions

View File

@ -18,7 +18,7 @@ type Exception struct {
code interface{}
message string
httpCode int
data map[string]interface{}
data interface{}
}
func (e *Exception) Error() string {
@ -33,7 +33,7 @@ func (e *Exception) GetMessage() string {
return e.message
}
func (e *Exception) GetData() map[string]interface{} {
func (e *Exception) GetData() interface{} {
return e.data
}