fix: 修改LinkGenerationService以直接使用times计算所需积分
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user