好感度兼容老数据脚本

back_recharge
yuanshuai 2021-09-26 20:05:12 +08:00
parent 6724ea31cf
commit 3eab389f36
2 changed files with 2 additions and 3 deletions

View File

@ -80,8 +80,8 @@ public class GetPlayerInfoHandler extends BaseHandler{
List<CommonProto.NewPlayerGuidePoint> list = new ArrayList<>();
Map<Integer, SPrivilegeTypeConfig> privilegeTypeConfigMap = SPrivilegeTypeConfig.getsPrivilegeTypeConfigMap();
for(Map.Entry<Integer, SPrivilegeTypeConfig> entry:privilegeTypeConfigMap.entrySet()){
//如果是<4 系统内置特权
if(entry.getValue().getUnlockType()<4&&!vipInfo.containsKey(entry.getKey())){
//如果是<4 系统内置特权 (6是新增的好感度特权收益加成 2021.9.26)
if(entry.getValue().getUnlockType()<4||entry.getValue().getUnlockType()==6&&!vipInfo.containsKey(entry.getKey())){
playerInfoManager.addVipInfo(entry.getKey());
}
}

View File

@ -121,7 +121,6 @@ public class UserManager {
playerManager.setSendDays(1);
playerManager.updateVipInfo(GlobalsDef.LEVEL_UNLOCK_PRIVILEGE,1);
playerManager.updateVipInfo(GlobalsDef.VIP_UNLOCK_PRIVILEGE,0);
playerManager.updateVipInfo(GlobalsDef.LIKABLE_UNLOCK,0);
playerManager.setNewRechargeInfo(new NewRechargeInfo());
playerManager.setPhoneBindInfo(new PhoneBindInfo(""));
playerManager.setChannel(channel);