mitao
2024-08-22 b4e0d41d741448cf03515bc6370db81f1b61f259
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;
    }
}