修复 NewSuccess
This commit is contained in:
parent
dce8cafff2
commit
f29c21f923
@ -126,6 +126,6 @@ func IsSuccess(e *Exception) bool {
|
|||||||
// Author : go_developer@163.com<白茶清欢>
|
// Author : go_developer@163.com<白茶清欢>
|
||||||
//
|
//
|
||||||
// Date : 22:35 2022/6/25
|
// Date : 22:35 2022/6/25
|
||||||
func NewSuccess(data map[string]interface{}) *Exception {
|
func NewSuccess(data interface{}) *Exception {
|
||||||
return New(defaultSuccessCode, defaultHttpCode, data)
|
return New(defaultSuccessCode, defaultHttpCode, data)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user