refactor🎨: 调整格式

This commit is contained in:
zhangwenjian
2021-06-03 09:29:19 +08:00
parent dd2ed9f9a5
commit b70b853016
-2
View File
@@ -34,10 +34,8 @@ func (e *Api) AddError(err error) {
// MakeContext 设置http上下文
func (e *Api) MakeContext(c *gin.Context) *Api {
fmt.Println(&c)
e.Context = c
e.Logger = api.GetRequestLogger(c)
fmt.Println(&e.Context)
return e
}