mitao
2024-05-17 14f8be1a86a3d852b92665fcf4c767478c3e12d2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package com.ruoyi.system.api.factory;
 
import com.ruoyi.system.api.feignClient.ArticleClient;
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
 
@Component
public class ArticleFallbackFactory implements FallbackFactory<ArticleClient> {
 
    @Override
    public ArticleClient create(Throwable cause) {
        return null;
    }
}