| | |
| | | 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.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;
|
| | |
| | | import com.xcong.excoin.modules.documentary.vo.MyFollowTraderInfoVo;
|
| | |
|
| | | import io.swagger.annotations.Api;
|
| | | import io.swagger.annotations.ApiImplicitParam;
|
| | | import io.swagger.annotations.ApiImplicitParams;
|
| | | import io.swagger.annotations.ApiOperation;
|
| | | import io.swagger.annotations.ApiParam;
|
| | | import io.swagger.annotations.ApiResponse;
|
| | |
| | | @RestController
|
| | | @Slf4j
|
| | | @RequestMapping(value = "/api/documentary")
|
| | | @Api(value = "MemberQuickBuySaleController", tags = "跟单")
|
| | | @Api(value = "DocumentaryController", tags = "跟单---跟随者")
|
| | | public class DocumentaryController {
|
| | |
|
| | | @Resource
|
| | |
| | | /**
|
| | | * 获取用户类型是否是交易员
|
| | | */
|
| | | @ApiOperation(value="获取用户类型是否是交易员", notes="获取用户类型是否是交易员")
|
| | | @ApiOperation(value="获取用户是否是交易员", notes="获取用户是否是交易员")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberIsTradeVo.class)})
|
| | | @GetMapping(value = "/getMemberIsTradeInfo")
|
| | | public Result getMemberIsTradeInfo() {
|
| | | @GetMapping(value = "/getMemberIsTrader")
|
| | | public Result getMemberIsTrader() {
|
| | | return documentaryService.getMemberIsTradeInfo();
|
| | | }
|
| | | |
| | | /**
|
| | | * 通知消息
|
| | | */
|
| | | @ApiOperation(value="通知消息", notes="通知消息")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = FollowFollowerNoticeVo.class)})
|
| | | @PostMapping(value = "/getFollowFollowerNoticeList")
|
| | | public Result getFollowFollowerNoticeList() {
|
| | | return documentaryService.getFollowFollowerNoticeList();
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * 跟单---跟单设置
|
| | | */
|
| | | @ApiOperation(value="跟单---跟单设置", notes="跟单---跟单设置")
|
| | | @PostMapping(value = "/getDocumentaryOrderSet")
|
| | | public Result getDocumentaryOrderSet(@RequestBody @Valid DocumentaryOrderSetDto documentaryOrderSetDto) {
|
| | | @ApiOperation(value="跟单---跟单设置--新增跟单", notes="跟单---跟单设置--新增跟单")
|
| | | @PostMapping(value = "/addDocumentaryOrderSet")
|
| | | public Result addDocumentaryOrderSet(@RequestBody @Valid DocumentaryOrderSetDto documentaryOrderSetDto) {
|
| | | return documentaryService.getDocumentaryOrderSet(documentaryOrderSetDto);
|
| | | }
|
| | |
|
| | |
| | | */
|
| | | @ApiOperation(value="跟单---跟单设置--进入编辑", notes="跟单---跟单设置--进入编辑")
|
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = DocumentaryOrderSetInfoVo.class)})
|
| | | @ApiImplicitParams({
|
| | | @ApiImplicitParam(name = "tradeId", value = "交易员ID", required = true, dataType = "String", paramType="query")
|
| | | })
|
| | | @GetMapping(value = "/getDocumentaryOrderSetInfo")
|
| | | public Result getDocumentaryOrderSetInfo() {
|
| | | return documentaryService.getDocumentaryOrderSetInfo();
|
| | | public Result getDocumentaryOrderSetInfo(String tradeId) {
|
| | | return documentaryService.getDocumentaryOrderSetInfo(tradeId);
|
| | | }
|
| | |
|
| | | /**
|