소스 검색

修改端口,修改redis database,日志路径

S0025136190 1 년 전
부모
커밋
bad4740b84

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

@@ -43,10 +43,10 @@ spring:
           driverClassName: com.mysql.cj.jdbc.Driver
           # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
           # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
-          # url: jdbc:mysql://xia0miduo.gicp.net:3336/room_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
-          url: jdbc:mysql://localhost:3306/room_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
+          url: jdbc:mysql://xia0miduo.gicp.net:3336/room_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
+          # url: jdbc:mysql://localhost:3306/room_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true
           username: root
-          password: password
+          password: 123456
         # 从库数据源
         slave:
           lazy: true
@@ -101,7 +101,7 @@ spring.data:
     # 端口,默认为6379
     port: 6379
     # 数据库索引
-    database: 0
+    database: 7
     # 密码(如没有密码请注释掉)
     # password:
     # 连接超时时间

+ 1 - 1
takai-admin/src/main/resources/application.yml

@@ -22,7 +22,7 @@ captcha:
 # 开发环境配置
 server:
   # 服务器的HTTP端口,默认为8092
-  port: 8092
+  port: 8096
   servlet:
     # 应用的访问路径
     context-path: /

+ 1 - 1
takai-admin/src/main/resources/logback-plus.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration>
-    <property name="log.path" value="./logs"/>
+    <property name="log.path" value="/room/logs"/>
     <property name="console.log.pattern"
               value="%red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}%n) - %msg%n"/>
     <property name="log.pattern" value="%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"/>

+ 1 - 1
takai-modules/takai-system/src/main/java/org/dromara/system/domain/vo/FacilitiesVo.java

@@ -58,7 +58,7 @@ public class FacilitiesVo implements Serializable {
 
     private String url;
 
-    private String createTime;
+    private Date createTime;
 
 
 }