package com.ghb.base.modules.test.feign.fallback;

import com.ghb.base.common.api.vo.Result;

import lombok.Setter;
import com.ghb.base.modules.test.feign.client.GhbTestClient;


/**
* 接口fallback实现
* 
* @author: scott
* @date: 2022/4/11 19:41
*/
public class GhbTestFallback implements GhbTestClient {

    @Setter
    private Throwable cause;


    @Override
    public String getMessage(String name) {
        return "访问超时, 自定义FallbackFactory";
    }
}
