mitao
2024-09-07 2862c3e4da3adbb4bea43151514f0c43b86476d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.xinquan.course.api.factory;
 
import com.xinquan.course.api.feign.RemoteCourseService;
import org.springframework.cloud.openfeign.FallbackFactory;
 
/**
 * @author mitao
 * @date 2024/8/21
 */
public class RemoteCourseFallbackFactory implements FallbackFactory<RemoteCourseService> {
 
    @Override
    public RemoteCourseService create(Throwable cause) {
        return null;
    }
}