Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
abaf242108
@ -77,8 +77,10 @@ func (this *modelCaravan) GetRankListData(rankNum int32, uid string) (list []*pb
|
||||
for _data.Next(context.TODO()) {
|
||||
temp := &pb.DBUser{}
|
||||
if err = _data.Decode(temp); err == nil {
|
||||
if temp.Name == "" { // 容错处理 防止没有创号的玩家入榜
|
||||
continue
|
||||
}
|
||||
ipos++
|
||||
|
||||
list = append(list, &pb.CaravanRankInfo{
|
||||
Uid: temp.Uid,
|
||||
Name: temp.Name,
|
||||
|
Loading…
Reference in New Issue
Block a user