This commit is contained in:
白茶清欢 2024-07-26 14:10:47 +08:00
parent b9c0389e7b
commit 9b7e714b29

View File

@ -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()