puhanshu
2022-08-05 f6d0d53054e1a2f1ceca85dc2b0fbe2c58dcbea8
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!!!";
    }
}