parent
2707c018f0
commit
215cc76897
|
|
@ -80,10 +80,10 @@ public class HomeLogic {
|
|||
}
|
||||
}
|
||||
// 特殊情况
|
||||
if (info.getUpLvEndTime() <= now){
|
||||
if (info.getUpLvEndTime() != 0 && info.getUpLvEndTime() <= now){
|
||||
throw new ErrorCodeException(ErrorCode.SYS_ERROR_CODE);
|
||||
}
|
||||
//
|
||||
//普通升级
|
||||
if (type == 1 && info.getUpLvEndTime() == 0){
|
||||
// 最高等级
|
||||
int maxId = config.values().stream().filter(v->v.getPoolID()==landLevel.getPoolID()).mapToInt(SHomeLandLevel::getlevel).max().orElse(0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue