1
zj
2024-10-09 40a326d5f9797ff12cb9b3da7625b1d7db3cc908
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();