修复循环引用问题

This commit is contained in:
2025-04-12 21:24:02 +08:00
parent 91a1d34474
commit 5df4fbab16
5 changed files with 49 additions and 76 deletions

View File

@ -13,7 +13,6 @@ import (
"git.zhangdeman.cn/zhangdeman/gin/define"
"git.zhangdeman.cn/zhangdeman/gin/request/parse_body"
"git.zhangdeman.cn/zhangdeman/gin/router"
"git.zhangdeman.cn/zhangdeman/wrapper"
"github.com/gin-gonic/gin"
)
@ -297,5 +296,5 @@ func (wh *wrapperHandle) GetLogicAfterResponse(ctx *gin.Context) *define.LogicAf
// GetCustomContext 获取自定义context
func (wh *wrapperHandle) GetCustomContext(ctx *gin.Context) *define.Context {
return router.NewContext(ctx)
return define.NewContext(ctx)
}