소스 검색

创智接口添加超时

lighter 1 년 전
부모
커밋
a41399491c
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      src/main/java/thyyxxk/webserver/service/externalhttp/PowersiSrvc.java

+ 1 - 5
src/main/java/thyyxxk/webserver/service/externalhttp/PowersiSrvc.java

@@ -5,10 +5,6 @@ import com.dtflys.forest.annotation.JSONBody;
 import com.dtflys.forest.annotation.Post;
 
 public interface PowersiSrvc {
-
-    @Post("http://172.16.32.183:8916/mmg-gateway/empiDataProvide/queryEmpiPatientListByIdentIndex")
-    JSONObject queryEmpiPatientList(@JSONBody JSONObject obj);
-
-    @Post("http://172.16.32.183:8917/mmg-transceiver/interfaceFactory/call")
+    @Post(value = "http://172.16.32.183:8917/mmg-transceiver/interfaceFactory/call", connectTimeout = 2000, readTimeout = 2000)
     JSONObject setlQualityControl(@JSONBody JSONObject obj);
 }