karldoenitz/Tigo

BaseHandler.SetCtxVal函数有bug

Closed this issue · 1 comments

SetCtxVal函数设置上下文,在handler中用GetCtxVal函数无法获取到值。

baseHandler.Request = baseHandler.Request.WithContext(ctx)

这行代码有问题,应该用指针赋值,不能用内容赋值。