1
zj
2025-06-25 73abefa49b91da40a9455be94b26b90b1258de28
src/main/java/com/nq/controller/protol/UserController.java
@@ -123,6 +123,7 @@
            buyOrderCreated.set(true);
            return this.iUserPositionService.buy(stockId, buyNum, buyType, lever,profitTarget,stopLoss, request);
        } catch (Exception e) {
            e.printStackTrace();
            return ServerResponse.createByErrorMsg("订单异常,请稍后重试", request);
        }  finally{
            buyLock.unlock();