From af051d7a0fa660f874e0f2aacff6c10219e62c91 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 04 Mar 2021 17:06:16 +0800 Subject: [PATCH] 20210304 申请交易员,信息初始化,由前端传入 --- src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java b/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java index 9d4cb8d..94af144 100644 --- a/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java +++ b/src/main/java/com/xcong/excoin/modules/documentary/service/DocumentaryService.java @@ -2,9 +2,12 @@ import javax.validation.Valid; +import org.springframework.web.bind.annotation.RequestBody; + import com.baomidou.mybatisplus.extension.service.IService; import com.xcong.excoin.common.response.Result; import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto; +import com.xcong.excoin.modules.documentary.dto.BeTraderDto; import com.xcong.excoin.modules.documentary.dto.CancelDocumentaryOrderSetDto; import com.xcong.excoin.modules.documentary.dto.DocumentaryOrderSetDto; import com.xcong.excoin.modules.documentary.dto.FollowFollowerNoticeDto; @@ -50,7 +53,7 @@ public Result getFollowTraderProfit(long traderId); - public Result beTrader(); + public Result beTrader(@Valid BeTraderDto beTraderDto); public Result beTraderStatus(); -- Gitblit v1.9.1