Browse Source

update

master
dengbiao 1 month ago
parent
commit
8d27510736
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/logic/domain/group/repo/group_notice_dao.go

+ 1
- 1
internal/logic/domain/group/repo/group_notice_dao.go View File

@@ -48,7 +48,7 @@ func (g *groupNoticeDao) Save(groupNotice *model.GroupNotice, isPublish bool) er
return gerrors.WrapError(err) return gerrors.WrapError(err)
} }
//删除缓存 //删除缓存
GroupCache.Del(groupNotice.GroupId)
GroupNoticeCache.Del(groupNotice.GroupId)
} else { } else {
err = db.DB.Save(&groupNotice).Error err = db.DB.Save(&groupNotice).Error
if err != nil { if err != nil {


Loading…
Cancel
Save