From 9cc6a708e33171820bc5bb959a19845100c080f5 Mon Sep 17 00:00:00 2001 From: wh_zcy Date: Fri, 31 Mar 2023 15:01:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=85=AC=E4=BC=9A=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comm/imodule.go | 5 +++-- modules/sociaty/module.go | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/comm/imodule.go b/comm/imodule.go index 7cc95747f..aa57d5304 100644 --- a/comm/imodule.go +++ b/comm/imodule.go @@ -320,7 +320,8 @@ type ( } // 公会 ISociaty interface { - //会长弹劾处理 + GetSociaty(uid string) *pb.DBSociaty + // 会长弹劾处理 ProcessAccuse(uid, sociatyId string) // 获取我的公会成员 MembersByUid(uid string) (list []*pb.SociatyMemberInfo) @@ -332,7 +333,7 @@ type ( BingoSetActivity(session IUserSession, activity int32) error // 任务条件达成通知 TaskcondNotify(uid, sociatyId string, condId int32) error - ///红点 + // 红点 IReddot } //星座图 diff --git a/modules/sociaty/module.go b/modules/sociaty/module.go index 62599279b..1edcf36d4 100644 --- a/modules/sociaty/module.go +++ b/modules/sociaty/module.go @@ -328,3 +328,7 @@ func (this *Sociaty) CreateSociaty(uid, sociatyName string) error { return this.modelSociaty.create(sociaty) } + +func (this *Sociaty) GetSociaty(uid string) *pb.DBSociaty { + return this.modelSociaty.getUserSociaty(uid) +}