优化异常实例化
This commit is contained in:
@ -20,7 +20,7 @@ type IException interface {
|
||||
// GetMessage *获取错误信息
|
||||
GetMessage() string
|
||||
// GetData 获取异常时的返回数据
|
||||
GetData() map[string]interface{}
|
||||
GetData() interface{}
|
||||
// GetHttpCode *获取当前异常要返回的http状态码, 不设置则 默认 200
|
||||
GetHttpCode() int
|
||||
}
|
||||
|
Reference in New Issue
Block a user