修复编译错误

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 // 击杀boos
func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUnionGve) { func (this *ModelUniongve) booskill(unionid string, boosid int32, info *pb.DBUnionGve) {
var ( var (
conf *cfg.GameGuildBossData // conf *cfg.GameGuildBossData
members []*pb.SociatyMemberInfo members []*pb.SociatyMemberInfo
offlist []string = make([]string, 0) offlist []string = make([]string, 0)
onine []string = make([]string, 0) onine []string = make([]string, 0)
err error // err error
) )
if conf, err = this.module.configure.getguildbossByid(boosid); err != nil { // if conf, err = this.module.configure.getguildbossByid(boosid); err != nil {
this.module.Errorln(err) // this.module.Errorln(err)
return // return
} // }
members = this.module.sociaty.MembersBySociatyId(unionid) members = this.module.sociaty.MembersBySociatyId(unionid)
if members == nil || len(members) == 0 { if members == nil || len(members) == 0 {
this.module.Error("MembersBySociatyId is nil !") this.module.Error("MembersBySociatyId is nil !")