refactor🎨: 调整格式
This commit is contained in:
1 parent
dd2ed9f9a5
commit
b70b853016
1 file changed
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user