fix登录,积分

This commit is contained in:
wells
2026-08-08 10:44:01 +08:00
parent dc33b8008c
commit 0e51812d80
10 changed files with 70 additions and 26 deletions
@@ -95,11 +95,9 @@ public class BetServiceImpl implements IBetService {
BigDecimal odds = getOdds(playType);
// 扣减积分
boolean success = pointsService.subPoints(userId, betAmount.longValue(),
pointsService.subPoints(userId, betAmount.longValue(),
IPointsService.TYPE_BET, null, null, "游戏下注");
if (!success) {
throw new RuntimeException("余额不足");
}
// 创建注单
BetOrder bet = new BetOrder();