From 0f4df6c351d87054ded6bd54f0c6b9f6253ea56f Mon Sep 17 00:00:00 2001 From: zainali5120 <512061637@qq.com> Date: Sun, 14 Mar 2021 20:42:51 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/whole_new' into whole_new --- src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 insertions(+), 3 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 8c289da..60156ed 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 @@ -14,7 +14,9 @@ import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto; import com.xcong.excoin.modules.documentary.dto.CancelDocumentaryOrderSetDto; import com.xcong.excoin.modules.documentary.dto.DocumentaryOrderSetDto; +import com.xcong.excoin.modules.documentary.dto.FollowFollowerNoticeDto; import com.xcong.excoin.modules.documentary.dto.FollowRecordsDto; +import com.xcong.excoin.modules.documentary.dto.FollowTraderProfitInfoDto; import com.xcong.excoin.modules.documentary.dto.HistoryOrderRecordsDto; import com.xcong.excoin.modules.documentary.dto.MyFollowOrderDto; import com.xcong.excoin.modules.documentary.dto.MyFollowTraderInfoDto; @@ -22,6 +24,8 @@ 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; import com.xcong.excoin.modules.documentary.vo.FollowTraderProfitInfoVo; @@ -59,12 +63,22 @@ } /** + * 通知消息 + */ + @ApiOperation(value="通知消息", notes="通知消息") + @ApiResponses({@ApiResponse( code = 200, message = "success", response = FollowFollowerNoticeVo.class)}) + @PostMapping(value = "/getFollowFollowerNoticeList") + public Result getFollowFollowerNoticeList(@RequestBody @Valid FollowFollowerNoticeDto followFollowerNoticeDto) { + return documentaryService.getFollowFollowerNoticeList(followFollowerNoticeDto); + } + + /** * 交易员列表 */ @ApiOperation(value="交易员列表", notes="交易员列表") @ApiResponses({@ApiResponse( code = 200, message = "success", response = FollowTraderProfitInfoVo.class)}) @PostMapping(value = "/getFollowTraderProfitInfo") - public Result getFollowTraderProfitInfo(@RequestBody @Valid RecordsPageDto recordsPageDto) { + public Result getFollowTraderProfitInfo(@RequestBody @Valid FollowTraderProfitInfoDto recordsPageDto) { return documentaryService.getFollowTraderProfitInfo(recordsPageDto); } @@ -153,9 +167,21 @@ } /** - * 跟单---跟单设置 + * 跟单---跟单设置--是否已跟单 */ - @ApiOperation(value="跟单---跟单设置", notes="跟单---跟单设置") + @ApiOperation(value="跟单---跟单设置--是否已跟单", notes="跟单---跟单设置--是否已跟单") + @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="跟单---跟单设置--新增跟单") @PostMapping(value = "/addDocumentaryOrderSet") public Result addDocumentaryOrderSet(@RequestBody @Valid DocumentaryOrderSetDto documentaryOrderSetDto) { return documentaryService.getDocumentaryOrderSet(documentaryOrderSetDto); -- Gitblit v1.9.1