Helius
2020-08-26 2f4472cba05b52e300ce75bcb96c14b0cf4887ae
src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java
@@ -10,6 +10,7 @@
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;
@@ -22,6 +23,8 @@
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;
@@ -61,7 +64,7 @@
    */
   @ApiOperation(value="交易员设置--当前带单", notes="交易员设置--当前带单")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeOrderInfoVo.class)})
   @GetMapping(value = "/getTradeOrderInfo")
   @PostMapping(value = "/getTradeOrderInfo")
   public Result  getTradeOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
      return documentaryService.getTradeOrderInfo(tradeOrderInfoDto);
   }
@@ -71,7 +74,7 @@
    */
   @ApiOperation(value="交易员设置--历史带单", notes="交易员设置--历史带单")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeHistoryOrderInfoVo.class)})
   @GetMapping(value = "/getTradeHistoryOrderInfo")
   @PostMapping(value = "/getTradeHistoryOrderInfo")
   public Result  getTradeHistoryOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
      return documentaryService.getTradeHistoryOrderInfo(tradeOrderInfoDto);
   }
@@ -81,12 +84,21 @@
    */
   @ApiOperation(value="交易员设置--我的跟随者", notes="交易员设置--我的跟随者")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeFollowInfoVo.class)})
   @GetMapping(value = "/getTradeFollowInfo")
   @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="成为交易员---立即入驻")