This commit is contained in:
aozhiwei 2024-04-08 11:30:06 +08:00
parent 32f55c47fd
commit b9a61ed9fc

View File

@ -355,7 +355,8 @@ func (this *player) CMGuildInfo(hdr *f5.MsgHdr, msg *cs.CMGuildInfo) {
rspMsg := new(cs.SMGuildInfo)
guild := GetGuildMgr().GetGuildByAccountId(msg.GetAccountId())
if guild == nil {
this.SendMsg(rspMsg.Err(1, "guild not exists"))
//this.SendMsg(rspMsg.Err(1, "guild not exists"))
this.SendMsg(rspMsg)
return
}
rspMsg.Guild = new(cs.MFGuild)
@ -371,6 +372,8 @@ func (this *player) CMGuildInfo(hdr *f5.MsgHdr, msg *cs.CMGuildInfo) {
}
func (this *player) CMRecommendGuildList(hdr *f5.MsgHdr, msg *cs.CMRecommendGuildList) {
rspMsg := new(cs.SMRecommendGuildList)
this.SendMsg(rspMsg)
}
func (this *player) CMGetTopGuildsByTotalStars(hdr *f5.MsgHdr, msg *cs.CMGetTopGuildsByTotalStars) {