peternameyakj
2024-07-15 6bbccc8f3ea0f643f32c08f4ccc71a532c1a7cf4
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();