1
zj
2024-09-18 e32adda91bdd41ac8f5cb9e1f7377e5f72f29886
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();