package com.mmc.csf.release.feign.config;

import com.mmc.csf.release.feign.hystrix.UserAppApiHystrix;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author: zj
 * @Date: 2023/5/18 18:21
 */
@ComponentScan(basePackages = "com.mmc.csf.release.feign")
@Configuration
public class FeignConfiguration {

    @Bean(name = "userAppApiHystrix")
    public UserAppApiHystrix userAppApi(){
        return new UserAppApiHystrix();
    }
}
