feat: 移除链接配置中的最大次数和数量限制
主要修改: 1. 从文档和相关服务中移除`link.max_times_per_batch`、`link.min_quantity`和`link.max_quantity`配置项,简化奖励点数的管理。 2. 更新相关文档,确保与代码一致性。 技术细节: - 通过移除这些限制,提升了系统的灵活性,允许更自由的奖励点数配置。
This commit is contained in:
@@ -105,9 +105,6 @@ public class SystemConfigController {
|
||||
public final Integer defaultQuantity = systemConfigService.getDefaultQuantity();
|
||||
public final Integer refreshInterval = systemConfigService.getRefreshInterval();
|
||||
public final Integer qrExpireTime = systemConfigService.getQrExpireTime();
|
||||
public final Integer maxTimesPerBatch = systemConfigService.getMaxTimesPerBatch();
|
||||
public final Integer minQuantity = systemConfigService.getMinQuantity();
|
||||
public final Integer maxQuantity = systemConfigService.getMaxQuantity();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -79,17 +79,9 @@ public class SystemConfigService {
|
||||
return getConfigValueAsInt("link.qr_expire_time", 600);
|
||||
}
|
||||
|
||||
public Integer getMaxTimesPerBatch() {
|
||||
return getConfigValueAsInt("link.max_times_per_batch", 100);
|
||||
}
|
||||
|
||||
|
||||
public Integer getMinQuantity() {
|
||||
return getConfigValueAsInt("link.min_quantity", 10);
|
||||
}
|
||||
|
||||
public Integer getMaxQuantity() {
|
||||
return getConfigValueAsInt("link.max_quantity", 1000);
|
||||
}
|
||||
|
||||
|
||||
public String getScriptServerUrl() {
|
||||
return getConfigValue("script.server_url", "http://36.138.184.60:12345");
|
||||
|
||||
Reference in New Issue
Block a user