Переглянути джерело

修改连接数据库的信息

haobing 2 роки тому
батько
коміт
0f7ba365d1

+ 4 - 4
src/main/resources/application-dev.yml

@@ -8,7 +8,8 @@ server:
     encoding:
       force: true
 
-file-path: E:\data\apps\provider-service\file
+#file-path: E:\data\apps\provider-service\file
+file-path: /data/apps/provider-service/file
 root-path: http://127.0.0.1/common/upfiles/
 
 #Jing Tai Zi Yuan Fang Wen Lu Jing
@@ -18,7 +19,7 @@ spring:
     name: druidDataSource
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/ayn_db_provider?useUnicode=true&serverTimezone=PRC&characterEncoding=UTF-8
+    url: jdbc:mysql://mysql.aiyangniu.net:3306/ayn_db_provider?useUnicode=true&serverTimezone=PRC&characterEncoding=UTF-8
     username: root
     password: 123456
 
@@ -70,9 +71,8 @@ spring:
 
   # redis
   redis:
-    host: 119.3.220.7
+    host: redis.aiyangniu.net
     port: 6379
-    password: 3T%UPCd2pRyP
     database: 1
     timeout: 10000
     jedis:

+ 2 - 2
src/main/resources/logback-spring.xml

@@ -2,8 +2,8 @@
 <configuration>
     <include resource="org/springframework/boot/logging/logback/defaults.xml" />
     <include resource="org/springframework/boot/logging/logback/console-appender.xml" />
-    <property name="LOG_FILE" value="E:\\data\\apps\\provider-service\\logs\\%d{yyyyMM}\\" />
-    <!--<property name="LOG_FILE" value="/data/apps/provider-service/logs/" />-->
+    <!--<property name="LOG_FILE" value="E:\\data\\apps\\provider-service\\logs\\%d{yyyyMM}\\" />-->
+    <property name="LOG_FILE" value="/data/apps/provider-service/logs/" />
 
     <!-- 保留DEBUG Level的日志 -->
     <appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">

Різницю між файлами не показано, бо вона завелика
+ 3793 - 0
src/main/resources/static/ayn_db_provider.sql