修复Success
This commit is contained in:
parent
c99cdadd7b
commit
0e469953bd
@ -21,7 +21,7 @@ import (
|
|||||||
// Author : go_developer@163.com<白茶清欢>
|
// Author : go_developer@163.com<白茶清欢>
|
||||||
//
|
//
|
||||||
// Date : 22:37 2022/6/25
|
// Date : 22:37 2022/6/25
|
||||||
func Success(ctx *gin.Context, data map[string]interface{}) {
|
func Success(ctx *gin.Context, data interface{}) {
|
||||||
successException := exception.NewSuccess(data)
|
successException := exception.NewSuccess(data)
|
||||||
Send(ctx, successException.GetCode(), successException.GetHttpCode(), successException.GetData())
|
Send(ctx, successException.GetCode(), successException.GetHttpCode(), successException.GetData())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user