refactor🎨 优化Context设置方法
This commit is contained in:
1 parent
abcdf880fd
commit
70998c424d
6 files changed
+79
-85
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user