fix
This commit is contained in:
parent
b9c0389e7b
commit
9b7e714b29
@ -20,7 +20,7 @@ type HookFunc func(ctx *gin.Context, requestData []byte, responseData map[string
|
|||||||
// Author : go_developer@163.com<白茶清欢>
|
// Author : go_developer@163.com<白茶清欢>
|
||||||
//
|
//
|
||||||
// Date : 11:55 2024/7/26
|
// Date : 11:55 2024/7/26
|
||||||
func HookAfterResponseMiddleware(ctx *gin.Context, hookFunc HookFunc) gin.HandlerFunc {
|
func HookAfterResponseMiddleware(hookFunc HookFunc) gin.HandlerFunc {
|
||||||
handleConfig := define.GetHttpHandleConfig()
|
handleConfig := define.GetHttpHandleConfig()
|
||||||
return func(ctx *gin.Context) {
|
return func(ctx *gin.Context) {
|
||||||
ctx.Next()
|
ctx.Next()
|
||||||
|
Loading…
Reference in New Issue
Block a user