红点修改

back_recharge
lvxinran 2020-10-19 23:41:30 +08:00
parent 947b8f78b5
commit c38ea8c334
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class JourneyMap {
MapInfoProto.JourneyGetInfoResponse.Builder response = MapInfoProto.JourneyGetInfoResponse.newBuilder(); MapInfoProto.JourneyGetInfoResponse.Builder response = MapInfoProto.JourneyGetInfoResponse.newBuilder();
journeyInfo.forEach((k,v)->{ journeyInfo.forEach((k,v)->{
int redPoint = 0; int redPoint = 0;
if(v.getRemainRandomTime()>TimeUtils.nowInt()){ if(v.getRamainRandomAmount()!=0&&v.getRemainRandomTime()>TimeUtils.nowInt()){
redPoint = 1; redPoint = 1;
} }
if(redPoint!=1&&!v.getGoodsMap().isEmpty()){ if(redPoint!=1&&!v.getGoodsMap().isEmpty()){