package com.xhpc.common.api;

import com.xhpc.common.api.factory.InternetUserFallbackFactory;
import com.xhpc.common.core.constant.ServiceNameConstants;
import com.xhpc.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yuyang
 * @date 2021/11/4 11:46
 * @Version 1.0
 */
@FeignClient(contextId = "internetUserService", value = ServiceNameConstants.XHPC_USER, fallbackFactory = InternetUserFallbackFactory.class)
public interface InternetUserService {

    @GetMapping("/internet/getOperatorIdEvcs")
    R getOperatorIdEvcs(@RequestParam String operatorIdEvcs);
}
