mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
refactor🎨: 调整格式
This commit is contained in:
@@ -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