This commit is contained in:
meixiongfeng 2023-03-31 15:18:20 +08:00
commit 51d8ba2ba5
2 changed files with 7 additions and 2 deletions

View File

@ -320,7 +320,8 @@ type (
} }
// 公会 // 公会
ISociaty interface { ISociaty interface {
//会长弹劾处理 GetSociaty(uid string) *pb.DBSociaty
// 会长弹劾处理
ProcessAccuse(uid, sociatyId string) ProcessAccuse(uid, sociatyId string)
// 获取我的公会成员 // 获取我的公会成员
MembersByUid(uid string) (list []*pb.SociatyMemberInfo) MembersByUid(uid string) (list []*pb.SociatyMemberInfo)
@ -332,7 +333,7 @@ type (
BingoSetActivity(session IUserSession, activity int32) error BingoSetActivity(session IUserSession, activity int32) error
// 任务条件达成通知 // 任务条件达成通知
TaskcondNotify(uid, sociatyId string, condId int32) error TaskcondNotify(uid, sociatyId string, condId int32) error
///红点 // 红点
IReddot IReddot
} }
//星座图 //星座图

View File

@ -328,3 +328,7 @@ func (this *Sociaty) CreateSociaty(uid, sociatyName string) error {
return this.modelSociaty.create(sociaty) return this.modelSociaty.create(sociaty)
} }
func (this *Sociaty) GetSociaty(uid string) *pb.DBSociaty {
return this.modelSociaty.getUserSociaty(uid)
}