|
@@ -2,34 +2,30 @@ package com.diagbot.client.hystrix;
|
|
|
|
|
|
import com.diagbot.client.NeoServiceClient;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
-import com.diagbot.entity.Token;
|
|
|
+import com.diagbot.vo.NeoParamVO;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * @Description: 调用用户服务
|
|
|
- * @author: gaodm
|
|
|
+ * @Description: 图谱服务
|
|
|
+ * @author: zhoutg
|
|
|
* @time: 2018/8/6 9:52
|
|
|
*/
|
|
|
@Component
|
|
|
@Slf4j
|
|
|
public class NeoServiceHystrix implements NeoServiceClient {
|
|
|
|
|
|
+
|
|
|
@Override
|
|
|
- public RespDTO<Map<String, String>> getUserInfoByIds(@RequestBody List<String> ids) {
|
|
|
- log.error("【hystrix】调用{}异常", "getUserInfoByIds");
|
|
|
+ public RespDTO<Boolean> updateNeo(NeoParamVO neoParamVO) {
|
|
|
+ log.error("【hystrix】调用{}异常", "updateNeo");
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public RespDTO<Boolean> verifyToken(Token token) {
|
|
|
- log.error("【hystrix】调用{}异常", "verifyToken");
|
|
|
+ public RespDTO<Boolean> deleteNeo(NeoParamVO neoParamVO) {
|
|
|
+ log.error("【hystrix】调用{}异常", "deleteNeo");
|
|
|
return null;
|
|
|
}
|
|
|
-
|
|
|
}
|