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) +}