cp 每周头像框发放修复
This commit is contained in:
parent
38a74b1d92
commit
938165c699
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user