1
zj
2024-08-19 2bb6d396b9e9a8d58ba47504591b71e48d6d6bfb
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();