单词错误

This commit is contained in:
2024-12-11 17:18:47 +08:00
parent e93e201dd2
commit 0b0fac8aa1
2 changed files with 3 additions and 3 deletions

View File

@@ -288,9 +288,9 @@ public class DiscSpinningController {
double baseAmount = 0;
for (DiscSpinningAmount amount : amounts) {
if (baseRandom < amount.getRandom()) {
resultAmount = baseAmount + random.nextDouble() * (amount.getMaxAmont() - baseAmount);
resultAmount = baseAmount + random.nextDouble() * (amount.getMaxAmount() - baseAmount);
}
baseAmount = amount.getMaxAmont();
baseAmount = amount.getMaxAmount();
}
if (resultAmount == 0) {

View File

@@ -26,7 +26,7 @@ public class DiscSpinningAmount extends Model<DiscSpinningAmount> {
@ApiModelProperty("0-1 小于 多少为该奖励")
private Double random;
@ApiModelProperty("最大金额")
private Double maxAmont;
private Double maxAmount;
private Integer status;