cp 每周头像框发放修复

This commit is contained in:
tianfeng 2026-02-09 11:27:04 +08:00
parent 38a74b1d92
commit 938165c699

View File

@ -178,7 +178,7 @@ public class CpRankingRewardManager {
String eventIdTwo = String.format("WK_CP_RW_%s_%d_%d", weekDate, userTwo, rank);
if (checkAndSetIdempotent(eventIdTwo, 15)) {
sendGoldAndProps(sysOrigin, userTwo, goldReward, rewardConfig.getResourceGroupId(),
rewardConfig.getId(), SendPropsOrigin.WEEK_CP_GIFT, eventIdTwo, 0);
rewardConfig.getId(), SendPropsOrigin.WEEK_CP_GIFT, eventIdTwo, 1);
log.info("[CP周榜] 排名 {} 用户 {} 奖励发放成功, 金币: {}, 道具组: {}",
rank, userTwo, goldReward, rewardConfig.getResourceGroupId());
}
@ -280,7 +280,7 @@ public class CpRankingRewardManager {
int avatarFrameCount = 0;
for (PropsActivityRewardConfig config : configs) {
if (Objects.equals(avatarFrameType, config.getType())) {
if (Objects.equals(avatarFrameType, config.getDetailType())) {
// AVATAR_FRAME 类型只保留第 sendIndex
if (avatarFrameCount == sendIndex) {
result.add(config);