package com.xcong.excoin.modules.documentary.controller;
|
|
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.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
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.member.parameter.vo.AppVersionListVo;
|
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiResponse;
|
import io.swagger.annotations.ApiResponses;
|
import lombok.extern.slf4j.Slf4j;
|
|
@RestController
|
@Slf4j
|
@RequestMapping(value = "/api/documentary")
|
@Api(value = "MemberQuickBuySaleController", tags = "跟单")
|
public class DocumentaryController {
|
|
@Autowired
|
DocumentaryService documentaryService;
|
|
/**
|
* 获取用户类型是否是交易员
|
*/
|
@ApiOperation(value="getMemberIsTradeInfo", notes="获取用户类型是否是交易员")
|
@ApiResponses({@ApiResponse( code = 200, message = "success", response = MemberIsTradeVo.class)})
|
@GetMapping(value = "/getMemberIsTradeInfo")
|
public Result getMemberIsTradeInfo() {
|
return documentaryService.getMemberIsTradeInfo();
|
}
|
|
}
|