package bus.rpc.service;

import com.orcas.common.model.JsonResponse;
import bus.rpc.config.FeignConfiguration;
import bus.rpc.fallback.DemoFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
* @Program: bus
* @Description: 描述
* @Author: bus
* @Date: 2025-02-24 14:39:33
**/
@FeignClient(value = "bus", configuration = FeignConfiguration.class, fallback = DemoFeignFallback.class,
path = "/bus/demoRpc")
public interface DemoFeignService {

    @PostMapping("/getDemoMsg")
    JsonResponse<String> getDemoMsg();

}
