优化注释内容和不需要的代码

This commit is contained in:
tianfeng 2025-09-18 18:01:52 +08:00
parent cb793b4b74
commit fae7993d35
2 changed files with 2 additions and 10 deletions

View File

@ -137,12 +137,12 @@ public class GiveGiftsListener implements MessageListener {
private void process(GiveAwayGiftBatchEvent eventBody) {
processGiftSend(eventBody);
processGameBurstCrystal(eventBody);
/*processGameBurstCrystal(eventBody);
try {
processBarrageGame(eventBody);
} catch (Exception e) {
log.error("赠送礼物请求百顺发送特技异常", e);
}
}*/
// 发送IM通知
sendIM(eventBody);
}

View File

@ -407,14 +407,6 @@ public class UserProfileGatewayImpl implements UserProfileGateway {
@Override
public UserConsumptionLevel getUserConsumptionLevel(SysOriginPlatformEnum sysOrigin, Long userId) {
//应产品需求这些账号不能升级
/*if(userId == 1807604920249827329L||userId==1808800573464178690L){
return new UserConsumptionLevel()
.setWealthLevel(0)
.setWealthExp(BigDecimal.ZERO)
.setCharmLevel(0)
.setCharmExp(BigDecimal.ZERO);
}*/
return userProfileInfraConvertor.toUserConsumptionLevel(
userCacheService.getUserConsumptionLevel(userId, (uid) -> {
ConsumptionLevel level = consumptionLevelService.getByUserId(uid);