Helius
2020-08-03 45ca0bb4bf76246fb9ce6212ae2c104287fb1dd6
src/main/java/com/xcong/excoin/modules/documentary/controller/TraderController.java
@@ -8,7 +8,8 @@
import com.xcong.excoin.common.response.Result;
import com.xcong.excoin.modules.documentary.service.DocumentaryService;
import com.xcong.excoin.modules.documentary.vo.MemberIsTradeVo;
import com.xcong.excoin.modules.documentary.vo.MyFollowOrderVo;
import com.xcong.excoin.modules.documentary.vo.TraderStatusVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -26,13 +27,22 @@
   DocumentaryService documentaryService;
   
   /**
    *  成为交易员---状态查询
    */
   @ApiOperation(value="成为交易员---状态查询", notes="成为交易员---状态查询")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = TraderStatusVo.class)})
   @GetMapping(value = "/beTraderStatus")
   public Result  beTraderStatus() {
      return documentaryService.beTraderStatus();
   }
   /**
    *  成为交易员---立即入驻
    */
   @ApiOperation(value="成为交易员---立即入驻", notes="成为交易员---立即入驻")
   @ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberIsTradeVo.class)})
   @GetMapping(value = "/getTraderInfo")
   public Result  getMemberIsTradeInfo() {
      return documentaryService.getMemberIsTradeInfo();
   @GetMapping(value = "/beTrader")
   public Result  beTrader() {
      return documentaryService.beTrader();
   }
}