From 8d27510736f4da3d1d2ebd8173904396b21a84d4 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Fri, 22 Nov 2024 21:10:49 +0800 Subject: [PATCH] update --- internal/logic/domain/group/repo/group_notice_dao.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/domain/group/repo/group_notice_dao.go b/internal/logic/domain/group/repo/group_notice_dao.go index 544c194..3a4bb88 100644 --- a/internal/logic/domain/group/repo/group_notice_dao.go +++ b/internal/logic/domain/group/repo/group_notice_dao.go @@ -48,7 +48,7 @@ func (g *groupNoticeDao) Save(groupNotice *model.GroupNotice, isPublish bool) er return gerrors.WrapError(err) } //删除缓存 - GroupCache.Del(groupNotice.GroupId) + GroupNoticeCache.Del(groupNotice.GroupId) } else { err = db.DB.Save(&groupNotice).Error if err != nil {