refactor🎨 参数设置删除修改
This commit is contained in:
1 parent
59e8645f56
commit
57067907d3
3 files changed
+5
-5
No files matched your search
@@ -104,7 +104,7 @@ func (e *SysConfig) RemoveSysConfig(d *dto.SysConfigById, c *system.SysConfig) e
|
||||
var data system.SysConfig
|
||||
|
||||
db := e.Orm.Model(&data).
|
||||
Where(d.GetId()).Delete(c)
|
||||
Where(d.Ids).Delete(c)
|
||||
if db.Error != nil {
|
||||
err = db.Error
|
||||
e.Log.Errorf("Service RemoveSysConfig error:%s", err)
|
||||
|
||||
Reference in new issue
Block a user