Browse Source

创智接口添加超时

lighter 1 year ago
parent
commit
a41399491c

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