Merge branch 'master_test_gn' of http://60.1.1.230/backend/jieling_server into master_test_gn
commit
9b0c7b6548
|
@ -476,7 +476,12 @@ public class PlayerLogic {
|
|||
user.getPlayerInfoManager().setHead(decorationId);
|
||||
break;
|
||||
case 2:
|
||||
Long time2 = user.getPlayerInfoManager().getUserTitleValidTime().get(decorationId);
|
||||
Long time2;
|
||||
if (decorationId == 0){
|
||||
time2 = 0L;
|
||||
}else {
|
||||
time2 = user.getPlayerInfoManager().getUserTitleValidTime().get(decorationId);
|
||||
}
|
||||
if (time2 == null){
|
||||
throw new ErrorCodeException(ErrorCode.newDefineCode("无此称号"));
|
||||
}
|
||||
|
@ -486,7 +491,7 @@ public class PlayerLogic {
|
|||
user.getPlayerInfoManager().setUserTitle(decorationId);
|
||||
break;
|
||||
case 3:
|
||||
Long time3 = null;
|
||||
Long time3;
|
||||
if(decorationId == 0){
|
||||
time3 = 0L;
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue