From 30e90f26c4d888502371fe21bdf6a724676015b0 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 05 Mar 2021 10:16:25 +0800
Subject: [PATCH] 20210304  跟单只允许跟一个交易员

---
 src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java b/src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java
index d8c3fe1..0530fea 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java
@@ -24,6 +24,7 @@
 import com.xcong.excoin.modules.documentary.service.DocumentaryService;
 import com.xcong.excoin.modules.documentary.vo.DocumentaryOrderInfoVo;
 import com.xcong.excoin.modules.documentary.vo.DocumentaryOrderSetInfoVo;
+import com.xcong.excoin.modules.documentary.vo.DocumentaryOrderSetStateVo;
 import com.xcong.excoin.modules.documentary.vo.FollowFollowerNoticeVo;
 import com.xcong.excoin.modules.documentary.vo.FollowInfoVo;
 import com.xcong.excoin.modules.documentary.vo.FollowRecordsVo;
@@ -166,6 +167,19 @@
 	}
 	
 	/**
+	 *  跟单---跟单设置--是否已跟单
+	 */
+	@ApiOperation(value="跟单---跟单设置--是否已跟单", notes="跟单---跟单设置--是否已跟单")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = DocumentaryOrderSetStateVo.class)})
+	@ApiImplicitParams({
+		@ApiImplicitParam(name = "tradeId", value = "交易员ID", required = true, dataType = "String", paramType="query")
+	})
+	@GetMapping(value = "/getDocumentaryOrderSetState")
+	public Result  getDocumentaryOrderSetState(String tradeId) {
+		return documentaryService.getDocumentaryOrderSetState(tradeId);
+	}
+	
+	/**
 	 *  跟单---跟单设置--新增跟单
 	 */
 	@ApiOperation(value="跟单---跟单设置--新增跟单", notes="跟单---跟单设置--新增跟单")

--
Gitblit v1.9.1