更新data数据结构
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user