删除字典bug修复

This commit is contained in:
yxh
2020-11-20 09:21:53 +08:00
parent 689007958e
commit d15c2537fc
@@ -239,7 +239,7 @@ func DeleteDictByIds(ids []int) error {
//删除字典下的数据
for _, v := range discs {
sys_dict_data.Model.Delete("dict_type=?", v.DictType)
Model.Delete(v.DictId)
Model.Delete("dict_id", v.DictId)
}
return nil
}