mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 18:20:47 +00:00
代码生成路由修复
This commit is contained in:
@@ -217,7 +217,7 @@ func (s *rule) DeleteMenuByIds(ids []int) (err error) {
|
||||
}
|
||||
}
|
||||
ids = append(ids, childrenIds...)
|
||||
_, err = dao.SysAuthRule.Where("id in (?)", ids).Delete()
|
||||
_, err = dao.SysAuthRule.Where("id in (?)", ids).Unscoped().Delete() // 硬删除
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user