Skip to content

Commit

Permalink
perf👌: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
wenjianzhang committed Sep 4, 2024
1 parent e70a0b1 commit 9227bd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/admin/service/sys_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ func (e *SysConfig) GetPage(c *dto.SysConfigGetPageReq, list *[]models.SysConfig

// Get 获取SysConfig对象
func (e *SysConfig) Get(d *dto.SysConfigGetReq, model *models.SysConfig) error {
err := e.Orm.FirstOrInit(model, d.GetId()).Error
err := e.Orm.
FirstOrInit(model, d.GetId()).
Error
if err != nil {
e.Log.Errorf("db error:%s", err)
_ = e.AddError(err)
Expand Down

0 comments on commit 9227bd2

Please sign in to comment.