掠夺报错修复
This commit is contained in:
parent
d97e76de57
commit
1832ad09dd
@ -95,7 +95,7 @@ func (this *modelLand) createPlunderLandData(uid string) (land *pb.DBPlunderLand
|
|||||||
if users, err = this.module.ModuleUser.GetUsers(curUids); err == nil {
|
if users, err = this.module.ModuleUser.GetUsers(curUids); err == nil {
|
||||||
for _, v := range users {
|
for _, v := range users {
|
||||||
uInfos = append(uInfos, comm.GetUserBaseInfo(v))
|
uInfos = append(uInfos, comm.GetUserBaseInfo(v))
|
||||||
if len(land.Uinfo) > 20 {
|
if len(uInfos) > 20 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user