package com.mmc.iuav.user.feign.config;

import com.mmc.iuav.user.feign.hystrix.PaymentAppApiHystrix;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

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

    @Bean(name = "paymentAppApiHystrix")
    public PaymentAppApiHystrix userAppApi(){
        return new PaymentAppApiHystrix();
    }
}
