Browse Source

连接超时

lyhzzz 2 năm trước cách đây
mục cha
commit
38999fd417

+ 7 - 0
pom.xml

@@ -46,6 +46,13 @@
             <version>3.5.1</version>
         </dependency>
 
+        <!--velocity模板-->
+        <dependency>
+            <groupId>org.apache.velocity</groupId>
+            <artifactId>velocity-engine-core</artifactId>
+            <version>2.3</version>
+        </dependency>
+
 
         <dependency>
             <groupId>org.springframework.boot</groupId>

+ 1 - 1
src/main/java/com/fdkankan/fusion/service/impl/SceneService.java

@@ -98,7 +98,7 @@ public class SceneService implements ISceneService {
                 if(StringUtils.isEmpty(token) && StringUtils.isEmpty(vo.getPhone())){
                     vo.setBind(false);
                 }
-                if(vo.getStatus() == 4){    //4生成OBJ中 设置为计算中
+                if(vo.getStatus() == 4){    //4生成OBJ中设置为计算中
                     vo.setStatus(0);
                 }
                 vo.setType(2);

+ 2 - 2
src/main/resources/application.yaml

@@ -33,9 +33,9 @@ forest:
   ## 打开/关闭Forest响应内容日志(默认为 false)
   log-response-content: true
   ## 请求超时时间,单位为毫秒, 默认值为3000
-  timeout: 3000000
+  timeout: 3000
   ## 连接超时时间,单位为毫秒, 默认值为2000
-  connect-timeout: 3000000
+  connect-timeout: 3000
 
 upload:
   type: oss