From 20ab0322832eac0744f6fd63edcd360f8be9a54a Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Sun, 28 Sep 2025 15:18:55 +0800
Subject: [PATCH] 一键平仓

---
 src/main/java/com/nq/controller/protol/UserController.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/nq/controller/protol/UserController.java b/src/main/java/com/nq/controller/protol/UserController.java
index 3f8228c..404d779 100644
--- a/src/main/java/com/nq/controller/protol/UserController.java
+++ b/src/main/java/com/nq/controller/protol/UserController.java
@@ -145,9 +145,9 @@
     //一键用户平仓操作
     @RequestMapping({"allsell.do"})
     @ResponseBody
-    public ServerResponse allsell(@RequestParam("stockType") String positionSn,HttpServletRequest request) {
+    public ServerResponse allsell(HttpServletRequest request) {
         try {
-            return this.iUserPositionService.allSell(request,positionSn);
+            return this.iUserPositionService.allSell(request);
         } catch (Exception e) {
             return  ServerResponse.createByErrorMsg("Sell Fail",request);
         }

--
Gitblit v1.9.3