新版仿ok交易所-后端
1
zj
2025-08-13 78262545593c52fa75aa1072b864121cb918897c
trading-order-service/src/main/java/com/yami/trading/service/contract/ContractApplyOrderService.java
@@ -233,7 +233,7 @@
        BigDecimal totalAmountCost = order.getDeposit().add(order.getFee());
        if (amountBefore.compareTo(totalAmountCost) < 0) {
            throw new YamiShopBindException("余额不足");
            throw new YamiShopBindException("not sufficient funds");
        }
        //如果是限价单先扣钱