暂时修改特权到期时间
parent
b69ffd6329
commit
9b4b01bedd
|
@ -399,7 +399,12 @@ public class PlayerManager extends MongoBase {
|
||||||
}else {
|
}else {
|
||||||
maxTime = TimeUtils.now()/1000+config.getContinueTime()[0];
|
maxTime = TimeUtils.now()/1000+config.getContinueTime()[0];
|
||||||
}
|
}
|
||||||
maxTime = (int)(TimeUtils.getLastOrUnderHour(maxTime*1000,0,0,true)/1000);
|
//todo 记得删掉
|
||||||
|
if(privilageId==4013){
|
||||||
|
maxTime = (int)(TimeUtils.getLastOrUnderHour(maxTime*1000,5,0,true)/1000);
|
||||||
|
}else{
|
||||||
|
maxTime = (int)(TimeUtils.getLastOrUnderHour(maxTime*1000,0,0,true)/1000);
|
||||||
|
}
|
||||||
newVipInfo.setEffectTime((int)maxTime);
|
newVipInfo.setEffectTime((int)maxTime);
|
||||||
}
|
}
|
||||||
this.vipInfo.put(privilageId,newVipInfo);
|
this.vipInfo.put(privilageId,newVipInfo);
|
||||||
|
|
Loading…
Reference in New Issue