fix登录,积分
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user