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 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/nq/controller/protol/UserController.java b/src/main/java/com/nq/controller/protol/UserController.java
index 36a5114..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);
}
@@ -250,8 +250,8 @@
@RequestMapping({"auth.do"})
@ResponseBody
- public ServerResponse auth(String realName, String idCard, String type,String vaildNumber ,String img1key, String img2key, String img3key, HttpServletRequest request) {
- return this.iUserService.auth(realName, idCard, type, vaildNumber,img1key, img2key, img3key, request);
+ public ServerResponse auth(String realName, String idCard, Integer realType,String vaildNumber ,String img1key, String img2key, String img3key, HttpServletRequest request) {
+ return this.iUserService.auth(realName, idCard, realType, vaildNumber,img1key, img2key, img3key, request);
}
//图片上传
--
Gitblit v1.9.3