package com.diagbot.client.hystrix;


import com.diagbot.client.AIServiceClient;
import com.diagbot.client.bean.Response;
import com.diagbot.client.bean.ResponseData;
import com.diagbot.client.bean.SearchData;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description: 人工智能服务客服端 （请求失败熔断）
 * @author: gaodm
 * @time: 2018/10/25 9:56
 */
@Component
@Slf4j
public class AIServiceHystrix implements AIServiceClient {
    @Override
    public Response<ResponseData> bayesPageData(SearchData searchData) {
        log.error("【hystrix】调用{}异常", "bayesPageData");
        return null;
    }
}
