101captain
2022-01-29 3350d25ef4dbc559db0c6544d82096b2ee9f7b10
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!!!";
    }
}