xiaoyong931011
2020-07-29 07f76d11dc6304a362cdc5ff907047a6e9e45185
src/main/java/com/xcong/excoin/modules/documentary/controller/DocumentaryController.java
@@ -1,11 +1,9 @@
package com.xcong.excoin.modules.documentary.controller;
import javax.annotation.Resource;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -13,14 +11,13 @@
import com.xcong.excoin.common.response.Result;
import com.xcong.excoin.modules.coin.parameter.dto.RecordsPageDto;
import com.xcong.excoin.modules.coin.parameter.vo.MemberAgentIntoInfoVo;
import com.xcong.excoin.modules.documentary.dto.FollowRecordsDto;
import com.xcong.excoin.modules.documentary.dto.HistoryOrderRecordsDto;
import com.xcong.excoin.modules.documentary.service.DocumentaryService;
import com.xcong.excoin.modules.documentary.vo.FollowRecordsVo;
import com.xcong.excoin.modules.documentary.vo.MemberIsTradeVo;
import com.xcong.excoin.modules.member.parameter.vo.AppVersionListVo;
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;
@@ -32,7 +29,7 @@
@Api(value = "MemberQuickBuySaleController", tags = "跟单")
public class DocumentaryController {
   
   @Autowired
   @Resource
   DocumentaryService documentaryService;
   
   /**
@@ -63,9 +60,21 @@
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberAgentIntoInfoVo.class)})
   @GetMapping(value = "/getHistoryOrderRecords")
   public Result  getHistoryOrderRecords(@RequestBody @Valid HistoryOrderRecordsDto historyOrderRecordsDto) {
      return documentaryService.getWalletAgentIntoRecords(historyOrderRecordsDto);
      return documentaryService.getHistoryOrderRecords(historyOrderRecordsDto);
   }
   
   /**
    *  跟随者
    * @return
    */
   @ApiOperation(value="getFollowRecords", notes="跟随者")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = FollowRecordsVo.class)})
   @GetMapping(value = "/getFollowRecords")
   public Result  getFollowRecords(@RequestBody @Valid FollowRecordsDto followRecordsDto) {
      return documentaryService.getFollowRecords(followRecordsDto);
   }