package sociaty import ( "go_dreamfactory/comm" "go_dreamfactory/pb" ) // 公会排行榜 func (this *apiComp) RankCheck(session comm.IUserSession, req *pb.SociatyRankReq) (errdata *pb.ErrorData) { return } func (this *apiComp) Rank(session comm.IUserSession, req *pb.SociatyRankReq) (errdata *pb.ErrorData) { // 排行榜 list := this.module.modelSociaty.rank() rsp := &pb.SociatyRankResp{ Rank: list, } session.SendMsg(string(this.module.GetType()), SociatySubTypeRank, rsp) return }