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;
| }
| }
|
|