|
@@ -1,11 +1,13 @@
|
|
|
package com.diagbot.client.hystrix;
|
|
|
|
|
|
import com.diagbot.client.BigDataServiceClient;
|
|
|
+import com.diagbot.client.bean.GdbResponse;
|
|
|
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;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
/**
|
|
|
* @Description:调用大数据对接层服务
|
|
@@ -20,4 +22,10 @@ public class BigDataServiceHystrix implements BigDataServiceClient {
|
|
|
log.error("【hystrix】调用{}异常", "bayesPageData");
|
|
|
return null;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Response<GdbResponse> highRiskPageData(@RequestBody SearchData searchData) {
|
|
|
+ log.error("【hystrix】调用{}异常", "highRiskPageData");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|