yanghui
2022-11-01 8f2544f1d0e5e82c0e7ee1d89abc1c916b0b9f9f
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!!!";
    }
}