From 69fd409bbd0cdce5b376be46e7ca5828568607c9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 29 Jul 2020 12:25:52 +0800 Subject: [PATCH] 20200729 代码提交 --- src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java | 23 +++++++++++++++++++++++ 1 files changed, 23 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 28ec4f5..d81709b 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 @@ -1,12 +1,16 @@ package com.xcong.excoin.modules.documentary.controller; +import javax.validation.Valid; + import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; +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.coin.parameter.dto.RecordsPageDto; import com.xcong.excoin.modules.documentary.service.DocumentaryService; import com.xcong.excoin.modules.documentary.vo.MemberIsTradeVo; import com.xcong.excoin.modules.member.parameter.vo.AppVersionListVo; @@ -35,5 +39,24 @@ public Result getMemberIsTradeInfo() { return documentaryService.getMemberIsTradeInfo(); } + + /** + * 交易员收益信息列表 + */ + @ApiOperation(value="getFollowTraderProfitInfo", notes="交易员收益信息列表") + @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberIsTradeVo.class)}) + @GetMapping(value = "/getFollowTraderProfitInfo") + public Result getFollowTraderProfitInfo(@RequestBody @Valid RecordsPageDto recordsPageDto) { + return documentaryService.getFollowTraderProfitInfo(recordsPageDto); + } + + + + + + + + + } -- Gitblit v1.9.1