101captain
2022-07-07 b331eaa82934e5cdda73d15d280f030588794bf2
1
2
3
4
5
6
7
8
9
10
11
12
package com.springcloudme.servicetp;
 
import com.springcloudme.servicetp.UserClient;
import org.springframework.stereotype.Component;
 
@Component
public class UserClientFallback implements UserClient {
    @Override
    public String hi() {
        return "Oh! Error!!!";
    }
}