Sfoglia il codice sorgente

【U审批】【代码回退】

wuyx 4 anni fa
parent
commit
32b007959d

+ 3 - 3
uas-office-qywx-server/src/main/resources/application.yaml

@@ -17,7 +17,7 @@ spring:
   datasource:
   datasource:
     primary:
     primary:
       driver-class-name: org.h2.Driver
       driver-class-name: org.h2.Driver
-      jdbc-url: jdbc:h2:file:C:/office/.office/data/server;FILE_LOCK=NO;DB_CLOSE_ON_EXIT=FALSE
+      jdbc-url: jdbc:h2:file:${user.home}/.office/data/server;FILE_LOCK=NO;DB_CLOSE_ON_EXIT=FALSE
       username: admin
       username: admin
       password: select111***
       password: select111***
     hikari:
     hikari:
@@ -27,12 +27,12 @@ spring:
       max-lifetime: 1800000
       max-lifetime: 1800000
       connection-timeout: 30000
       connection-timeout: 30000
   redis:
   redis:
-    host: 10.1.81.211
+    host: 127.0.0.1
     port: 6379
     port: 6379
   jackson:
   jackson:
     serialization:
     serialization:
       write-dates-as-timestamps: true
       write-dates-as-timestamps: true
 logging:
 logging:
-  path: C:/office/.office/logs/
+  path: ${user.home}/.office/logs/
   level:
   level:
     com.usoftchina.uas.office: debug
     com.usoftchina.uas.office: debug