浏览代码

接口超时

xiaochan 2 年之前
父节点
当前提交
3dd2fe2ff9
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      pom.xml
  2. 2 0
      src/main/java/thyyxxk/webserver/service/externalhttp/PowersiSrvc.java

+ 1 - 1
pom.xml

@@ -10,7 +10,7 @@
     </parent>
     <groupId>thyyxxk</groupId>
     <artifactId>web-server</artifactId>
-    <version>11.4.1</version>
+    <version>11.4.4</version>
     <name>web-server</name>
     <description>server for yibao-web</description>
     <properties>

+ 2 - 0
src/main/java/thyyxxk/webserver/service/externalhttp/PowersiSrvc.java

@@ -1,9 +1,11 @@
 package thyyxxk.webserver.service.externalhttp;
 
 import com.alibaba.fastjson.JSONObject;
+import com.dtflys.forest.annotation.BaseRequest;
 import com.dtflys.forest.annotation.JSONBody;
 import com.dtflys.forest.annotation.Post;
 
+@BaseRequest(timeout = 3000)
 public interface PowersiSrvc {
 
     @Post("http://172.16.32.183:8916/mmg-gateway/empiDataProvide/queryEmpiPatientListByIdentIndex")