|
|
@@ -443,7 +443,10 @@ public class ExchangeCodeServiceImpl extends ServiceImpl<ExchangeCodeMapper, Exc
|
|
|
GroupsRelation relation = groupsRelationMapper.selectById(groupsRelationView.getId());
|
|
|
relation.setExpiryTime(expiryTime);
|
|
|
groupsRelationMapper.updateById(relation);
|
|
|
- relation.setIsClaudeCodeUpgrade(true);
|
|
|
+ //同规格只加时长
|
|
|
+ if (relationSku.getCodePoints() != sku.getCodePoints()) {
|
|
|
+ relation.setIsClaudeCodeUpgrade(true);
|
|
|
+ }
|
|
|
return relation;
|
|
|
}
|
|
|
}
|