修复编译错误

This commit is contained in:
liwei 2023-07-18 17:08:00 +08:00
parent 1109709ffd
commit c68e33a785

View File

@ -163,16 +163,16 @@ func (this *ModelUniongve) userlock(id string) (result *redis.RedisMutex, err er
// 击杀boos
func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUnionGve) {
var (
conf *cfg.GameGuildBossData
// conf *cfg.GameGuildBossData
members []*pb.SociatyMemberInfo
offlist []string = make([]string, 0)
onine []string = make([]string, 0)
err error
// err error
)
if conf, err = this.module.configure.getguildbossByid(boosid); err != nil {
this.module.Errorln(err)
return
}
// if conf, err = this.module.configure.getguildbossByid(boosid); err != nil {
// this.module.Errorln(err)
// return
// }
members = this.module.sociaty.MembersBySociatyId(unionid)
if members == nil || len(members) == 0 {
this.module.Error("MembersBySociatyId is nil !")