Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
dbd1ce04a6
|
@ -1236,7 +1236,7 @@ public class ChampionshipLogic {
|
|||
int myUid = session.getUid();
|
||||
CommonProto.ArenaEnemy myInfo = null;
|
||||
ArenaInfoProto.ChampionGetWorldRankResponse.Builder builder = ArenaInfoProto.ChampionGetWorldRankResponse.newBuilder();
|
||||
if(end<rankEndLine) {
|
||||
if(start<=rankEndLine) {
|
||||
Set<ZSetOperations.TypedTuple<String>> arenaRankInfo = RedisUtil.getInstence().getZsetreverseRangeWithScores(RedisKey.CHAMPION_RANK,"", start, end);
|
||||
for (ZSetOperations.TypedTuple<String> item : arenaRankInfo) {
|
||||
String value = item.getValue();
|
||||
|
@ -1253,7 +1253,7 @@ public class ChampionshipLogic {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(myInfo==null && end>=rankEndLine){
|
||||
if(myInfo==null && start<=rankEndLine){
|
||||
int myRank= RedisUtil.getInstence().getZSetreverseRank(RedisKey.CHAMPION_RANK,"",Integer.toString(myUid)).intValue();
|
||||
if(myRank != -1){
|
||||
myInfo=getEnemyInfo(myUid, myRank,0,0);
|
||||
|
|
Loading…
Reference in New Issue