| | |
| | | import org.springframework.web.bind.annotation.RestController;
|
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.documentary.dto.BeTraderDto;
|
| | | 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.BeTraderConditionVo;
|
| | | 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;
|
| | |
| | |
|
| | | @Resource
|
| | | DocumentaryService documentaryService;
|
| | |
|
| | | /**
|
| | | * 成为交易员---条件查询
|
| | | */
|
| | | @ApiOperation(value="成为交易员---条件查询", notes="成为交易员---条件查询")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = BeTraderConditionVo.class)})
|
| | | @GetMapping(value = "/beTraderStatusCondition")
|
| | | public Result beTraderCondition() {
|
| | | return documentaryService.beTraderCondition();
|
| | | }
|
| | |
|
| | | /**
|
| | | * 成为交易员---状态查询
|
| | |
| | | * 成为交易员---立即入驻
|
| | | */
|
| | | @ApiOperation(value="成为交易员---立即入驻", notes="成为交易员---立即入驻")
|
| | | @GetMapping(value = "/beTrader")
|
| | | public Result beTrader() {
|
| | | return documentaryService.beTrader();
|
| | | @PostMapping(value = "/beTrader")
|
| | | public Result beTrader(@RequestBody @Valid BeTraderDto beTraderDto) {
|
| | | return documentaryService.beTrader(beTraderDto);
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * 交易员设置--进入编辑---获取标签信息
|
| | | */
|
| | | @ApiOperation(value="交易员设置--进入编辑---获取标签信息", notes="交易员设置--进入编辑---获取标签信息")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeSetLabelInfoVo.class)})
|
| | | @GetMapping(value = "/getTradeSetLabelInfo")
|
| | | public Result getTradeSetLabelInfo() {
|
| | | return documentaryService.getTradeSetLabelInfo();
|
| | | }
|
| | | |
| | | /**
|
| | | * 交易员设置--更新设置
|
| | | */
|
| | | @ApiOperation(value="交易员设置--更新设置", notes="交易员设置--更新设置")
|