From 9219e18a9b2fb06b95b5c881b057d3fde7270ca3 Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Thu, 25 Feb 2021 10:28:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/whole_new' into whole_new

---
 src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java |   94 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 93 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java b/src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java
index 43d8ed8..ae140b0 100644
--- a/src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java
+++ b/src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java
@@ -1,17 +1,31 @@
 package com.xcong.excoin.modules.documentary.controller;
 
 import javax.annotation.Resource;
+import javax.validation.Valid;
 
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
 import com.xcong.excoin.common.response.Result;
+import com.xcong.excoin.modules.documentary.dto.OutFollowInfoDto;
+import com.xcong.excoin.modules.documentary.dto.TradeFollowInfoDto;
+import com.xcong.excoin.modules.documentary.dto.TradeOrderInfoDto;
+import com.xcong.excoin.modules.documentary.dto.UpdateTradeSetInfoDto;
 import com.xcong.excoin.modules.documentary.service.DocumentaryService;
-import com.xcong.excoin.modules.documentary.vo.MyFollowOrderVo;
+import com.xcong.excoin.modules.documentary.vo.TradeFollowInfoVo;
+import com.xcong.excoin.modules.documentary.vo.TradeHistoryOrderInfoVo;
+import com.xcong.excoin.modules.documentary.vo.TradeOrderInfoVo;
+import com.xcong.excoin.modules.documentary.vo.TradeProfitInfoVo;
+import com.xcong.excoin.modules.documentary.vo.TradeSetInfoVo;
+import com.xcong.excoin.modules.documentary.vo.TradeSetLabelInfoVo;
 import com.xcong.excoin.modules.documentary.vo.TraderStatusVo;
 
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiResponse;
 import io.swagger.annotations.ApiResponses;
@@ -37,6 +51,55 @@
 	}
 	
 	/**
+	 * 交易员设置--头部
+	 */
+	@ApiOperation(value="交易员设置--头部", notes="交易员设置--头部")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeProfitInfoVo.class)})
+	@GetMapping(value = "/getTradeProfitInfo")
+	public Result  getTradeProfitInfo() {
+		return documentaryService.getTradeProfitInfo();
+	}
+	
+	/**
+	 * 交易员设置--当前带单
+	 */
+	@ApiOperation(value="交易员设置--当前带单", notes="交易员设置--当前带单")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeOrderInfoVo.class)})
+	@PostMapping(value = "/getTradeOrderInfo")
+	public Result  getTradeOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
+		return documentaryService.getTradeOrderInfo(tradeOrderInfoDto);
+	}
+	
+	/**
+	 * 交易员设置--历史带单
+	 */
+	@ApiOperation(value="交易员设置--历史带单", notes="交易员设置--历史带单")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeHistoryOrderInfoVo.class)})
+	@PostMapping(value = "/getTradeHistoryOrderInfo")
+	public Result  getTradeHistoryOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
+		return documentaryService.getTradeHistoryOrderInfo(tradeOrderInfoDto);
+	}
+	
+	/**
+	 * 交易员设置--我的跟随者
+	 */
+	@ApiOperation(value="交易员设置--我的跟随者", notes="交易员设置--我的跟随者")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeFollowInfoVo.class)})
+	@PostMapping(value = "/getTradeFollowInfo")
+	public Result  getTradeFollowInfo(@RequestBody @Valid TradeFollowInfoDto tradeFollowInfoDto) {
+		return documentaryService.getTradeFollowInfo(tradeFollowInfoDto);
+	}
+	
+	/**
+	 * 交易员设置--踢出跟随者
+	 */
+	@ApiOperation(value="交易员设置--踢出跟随者", notes="交易员设置--踢出跟随者")
+	@PostMapping(value = "/getOutFollowInfo")
+	public Result  getOutFollowInfo(@RequestBody @Valid OutFollowInfoDto outFollowInfoDto) {
+		return documentaryService.getOutFollowInfo(outFollowInfoDto);
+	}
+	
+	/**
 	 *  成为交易员---立即入驻
 	 */
 	@ApiOperation(value="成为交易员---立即入驻", notes="成为交易员---立即入驻")
@@ -44,5 +107,34 @@
 	public Result  beTrader() {
 		return documentaryService.beTrader();
 	}
+	
+	/**
+	 * 交易员设置--进入编辑
+	 */
+	@ApiOperation(value="交易员设置--进入编辑", notes="交易员设置--进入编辑")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeSetInfoVo.class)})
+	@GetMapping(value = "/getTradeSetInfo")
+	public Result  getTradeSetInfo() {
+		return documentaryService.getTradeSetInfo();
+	}
+	
+	/**
+	 * 交易员设置--进入编辑---获取标签信息
+	 */
+	@ApiOperation(value="交易员设置--进入编辑---获取标签信息", notes="交易员设置--进入编辑---获取标签信息")
+	@ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeSetLabelInfoVo.class)})
+	@GetMapping(value = "/getTradeSetLabelInfo")
+	public Result  getTradeSetLabelInfo() {
+		return documentaryService.getTradeSetLabelInfo();
+	}
+	
+	/**
+	 * 交易员设置--更新设置
+	 */
+	@ApiOperation(value="交易员设置--更新设置", notes="交易员设置--更新设置")
+	@PostMapping(value = "/updateTradeSetInfo")
+	public Result  updateTradeSetInfo(@RequestBody @Valid UpdateTradeSetInfoDto updateTradeSetInfoDto) {
+		return documentaryService.updateTradeSetInfo(updateTradeSetInfoDto);
+	}
 
 }

--
Gitblit v1.9.1