Przeglądaj źródła

其他企业微信配置

zhouy 2 lat temu
rodzic
commit
c094b27436

+ 28 - 0
uas-office-qywx-server/src/main/resources/config/application-otherprod.yaml

@@ -4,6 +4,34 @@ server:
     uri-encoding: UTF-8
   servlet:
     context-path: /officeother
+spring:
+  profiles:
+    active: dev
+  http:
+    encoding:
+      force: true
+      charset: utf-8
+      enabled: true
+  messages:
+    basename: i18n/messages
+  datasource:
+    primary:
+      driver-class-name: org.h2.Driver
+      jdbc-url: jdbc:h2:file:${user.home}/.officeother/data/server;FILE_LOCK=NO;DB_CLOSE_ON_EXIT=FALSE
+      username: admin
+      password: select111***
+    hikari:
+      minimum-idle: 5
+      maximum-pool-size: 50
+      idle-timeout: 30000
+      max-lifetime: 1800000
+      connection-timeout: 30000
+  redis:
+    host: 127.0.0.1
+    port: 6379
+  jackson:
+    serialization:
+      write-dates-as-timestamps: true
 logging:
   path: ${user.home}/.officeother/logs/
   level: