puhanshu
2021-11-18 c978d5355ae21d983dbd9129e4889938e9ea05f5
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!!!";
    }
}