package com.css.simulation.resource.server.infra.feign.service;

import api.common.pojo.common.ResponseBodyVO;
import com.css.simulation.resource.server.infra.feign.config.FeignConfiguration;
import com.css.simulation.resource.server.infra.feign.fallback.RedisServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

//@FeignClient(name = "test", url = "http://10.15.12.72:8001", fallback = RedisServiceFallback.class, configuration = FeignConfiguration.class)
@FeignClient(value = "simulation-oauth-client",
        contextId = "oauthClient",
        path = "/simulation/oauth/client",
        fallback = RedisServiceFallback.class,
        configuration = FeignConfiguration.class)
public interface OauthClientService {

    @PostMapping("/sign/online")
    ResponseBodyVO<Integer> online();



}
