无关风月
2024-11-09 1cd6c3e8ee9326c52ac79805193db1d32b390055
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;
    }
}