fix: 修改LinkGenerationService以直接使用times计算所需积分

This commit is contained in:
zyh
2025-08-29 23:05:27 +08:00
parent 2c72161efa
commit 64f9e6ef17

View File

@@ -71,7 +71,7 @@ public class LinkGenerationService {
// 从配置表获取每次副本的奖励点数
int perTimeQuantity = systemConfigService.getDefaultQuantity();
long needPoints = (long) times * (long) perTimeQuantity;
long needPoints = (long) times; // 只扣times不乘以perTimeQuantity
int expireHours = systemConfigService.getConfigValueAsInt("link.expire-hours", 2);
if (log.isDebugEnabled()) {