package cn.ey.biz.module.system.api.engagement.scope;

import cn.ey.biz.common.pojo.R;
import cn.ey.biz.module.system.api.engagement.scope.dto.OpprScopeConfigReqDTO;
import cn.ey.biz.module.system.api.engagement.scope.dto.OpprScopeConfigRespDTO;
import cn.ey.biz.module.system.enums.ApiConstants;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;


@FeignClient(name = ApiConstants.NAME)
@Api(tags = "RPC 服务 - 商机公开范围")
public interface OpprScopeConfigApi {

    String PREFIX = ApiConstants.PREFIX + "/opportunity/scope/config";

    @GetMapping(PREFIX + "/list")
    @ApiOperation("获取商机公开范围")
    R<List<OpprScopeConfigRespDTO>> getOpprScopeConfigList(@RequestBody OpprScopeConfigReqDTO opprScopeConfigReqDTO);

}
