| | |
| | | import org.springframework.web.bind.annotation.RestController;
|
| | |
|
| | | import com.xcong.excoin.common.response.Result;
|
| | | import com.xcong.excoin.modules.documentary.dto.UpdateDocumentaryOrderSetDto;
|
| | | 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.DocumentaryOrderSetInfoVo;
|
| | | import com.xcong.excoin.modules.documentary.vo.MyFollowOrderVo;
|
| | | 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.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;
|
| | |
| | | }
|
| | |
|
| | | /**
|
| | | * 交易员设置--头部
|
| | | */
|
| | | @ApiOperation(value="交易员设置--头部", notes="交易员设置--头部")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeProfitInfoVo.class)})
|
| | | @GetMapping(value = "/getTradeProfitInfo")
|
| | | public Result getTradeProfitInfo() {
|
| | | return documentaryService.getTradeProfitInfo();
|
| | | }
|
| | | |
| | | /**
|
| | | * 交易员设置--当前带单
|
| | | */
|
| | | @ApiOperation(value="交易员设置--当前带单", notes="交易员设置--当前带单")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeOrderInfoVo.class)})
|
| | | @GetMapping(value = "/getTradeOrderInfo")
|
| | | public Result getTradeOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
|
| | | return documentaryService.getTradeOrderInfo(tradeOrderInfoDto);
|
| | | }
|
| | | |
| | | /**
|
| | | * 交易员设置--历史带单
|
| | | */
|
| | | @ApiOperation(value="交易员设置--历史带单", notes="交易员设置--历史带单")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeHistoryOrderInfoVo.class)})
|
| | | @GetMapping(value = "/getTradeHistoryOrderInfo")
|
| | | public Result getTradeHistoryOrderInfo(@RequestBody @Valid TradeOrderInfoDto tradeOrderInfoDto) {
|
| | | return documentaryService.getTradeHistoryOrderInfo(tradeOrderInfoDto);
|
| | | }
|
| | | |
| | | /**
|
| | | * 成为交易员---立即入驻
|
| | | */
|
| | | @ApiOperation(value="成为交易员---立即入驻", notes="成为交易员---立即入驻")
|
| | |
| | | */
|
| | | @ApiOperation(value="交易员设置--进入编辑", notes="交易员设置--进入编辑")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = TradeSetInfoVo.class)})
|
| | | @ApiImplicitParams({
|
| | | @ApiImplicitParam(name = "tradeId", value = "交易员ID", required = true, dataType = "String", paramType="query")
|
| | | })
|
| | | @GetMapping(value = "/getTradeSetInfo")
|
| | | public Result getTradeSetInfo(String tradeId) {
|
| | | return documentaryService.getTradeSetInfo(tradeId);
|
| | | public Result getTradeSetInfo() {
|
| | | return documentaryService.getTradeSetInfo();
|
| | | }
|
| | |
|
| | | /**
|