cp发送逻辑更改
(cherry picked from commit 1f0813bf989674e4ace73ed003134fe3c5b17840)
This commit is contained in:
parent
a38dd91403
commit
209e62e7c9
@ -112,11 +112,11 @@ public class CpLevelUpAvatarFrameService {
|
||||
return;
|
||||
}
|
||||
|
||||
PropsBackpack userProps = propsBackpackService.getUserProps(userId, propsSourceId, PropsCommodityType.AVATAR_FRAME);
|
||||
if (userProps != null && TimestampUtils.expiredIntervalMillisecond(userProps.getExpireTime(), TimestampUtils.now()) < 0) {
|
||||
log.info("CP头像框未过期已存在背包,跳过发放, userId={}, propsSourceId={}", userId, propsSourceId);
|
||||
return;
|
||||
}
|
||||
// PropsBackpack userProps = propsBackpackService.getUserProps(userId, propsSourceId, PropsCommodityType.AVATAR_FRAME);
|
||||
// if (userProps != null && TimestampUtils.expiredIntervalMillisecond(userProps.getExpireTime(), TimestampUtils.now()) < 0) {
|
||||
// log.info("CP头像框未过期已存在背包,跳过发放, userId={}, propsSourceId={}", userId, propsSourceId);
|
||||
// return;
|
||||
// }
|
||||
|
||||
propsStoreGateway.shippingProductProps(new ProductProps()
|
||||
.setInitiateUserId(userId)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user