浏览代码

创智接口添加超时

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);
 }