refactor🎨 优化Context设置方法

This commit is contained in:
wenjianzhang committed 2021-05-12 18:47:29 +08:00
1 parent abcdf880fd
commit 70998c424d
6 files changed
+79 -85

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ type SysConfig struct {
}
func (e SysConfig) GetSysConfigList(c *gin.Context) {
e.SetContext(c) //Context = c
e.MakeContext(c)
log := e.GetLogger()
d := new(dto.SysConfigSearch)
db, err := e.GetOrm()
@@ -272,4 +272,4 @@ func (e SysConfig) GetSysConfigByKEYForService(c *gin.Context) {
return
}
e.OK(v, s.Msg)
}
}