dengsixing 1 年間 前
コミット
43647d0d34

+ 1 - 1
src/main/java/com/fdkankan/scene/httpclient/CustomHttpClient.java

@@ -8,7 +8,7 @@ import com.dtflys.forest.annotation.Var;
 
 public interface CustomHttpClient {
 
-    @Post("{url}")
+    @Post(url = "{url}", connectTimeout = 30000,  readTimeout = 30000, maxRetryInterval = 3)
     JSONObject postJson(@Var("url") String url, @JSONBody Object object);
 
 

+ 5 - 0
src/main/resources/application-dev.yml

@@ -21,6 +21,11 @@ spring:
       login-timeout: 60000
       pool-name: MyHikariCP
 
+mybatis-plus:
+  mapper-locations: classpath:mapper/*Mapper.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 tieta:
   sysCode: CT00017
   serverName: scene

+ 5 - 0
src/main/resources/application-preprod.yml

@@ -21,6 +21,11 @@ spring:
       login-timeout: 60000
       pool-name: MyHikariCP
 
+mybatis-plus:
+  mapper-locations: classpath:mapper/*Mapper.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 tieta:
   sysCode: CT00017
   serverName: scene

+ 5 - 0
src/main/resources/application-prod.yml

@@ -21,6 +21,11 @@ spring:
       login-timeout: 60000
       pool-name: MyHikariCP
 
+mybatis-plus:
+  mapper-locations: classpath:mapper/*Mapper.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 tieta:
   sysCode: CT00017
   serverName: scene

+ 5 - 0
src/main/resources/application-test.yml

@@ -21,6 +21,11 @@ spring:
       login-timeout: 60000
       pool-name: MyHikariCP
 
+mybatis-plus:
+  mapper-locations: classpath:mapper/*Mapper.xml
+  configuration:
+    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+
 tieta:
   sysCode: CT00017
   serverName: scene