连续购买日志
parent
12d46dfacd
commit
5fb5901b47
|
|
@ -87,6 +87,7 @@ public class ContinuousGiftActivity extends AbstractActivity {
|
|||
Collection<SThemeActivityShop> themeShops = SThemeActivityShop.themeMap.getOrDefault(id, new HashMap<>(0)).values();
|
||||
|
||||
for (SThemeActivityShop theme : themeShops) {
|
||||
LOGGER.info("连续礼包活动日志,acid:{},uid:{},giftid:{},num:{}, themeid:{},themegiftid:{},themetype:{}",id,user.getId(),giftId,giftNum,theme.getId(),theme.getGoodId(),theme.getGoodType());
|
||||
if (theme.getGoodId() == giftId && theme.getGoodType() == type){
|
||||
// 记录礼包购买次数
|
||||
ActivityProgressInfo current = missionMap.getOrDefault(theme.getId(),new ActivityProgressInfo());
|
||||
|
|
@ -94,8 +95,8 @@ public class ContinuousGiftActivity extends AbstractActivity {
|
|||
// 当前礼包状态处理
|
||||
if (checkBuyGiftLimit(user,theme.getId(),current.getProgrss())){
|
||||
current.setState(8);
|
||||
missionMap.put(theme.getId(),current);
|
||||
}
|
||||
missionMap.put(theme.getId(),current);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue