diff --git a/.idea/.gitignore b/.idea/.gitignore index 5c98b42..0de35f8 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -1,2 +1,3 @@ # Default ignored files -/workspace.xml \ No newline at end of file +/workspace.xml +/logs/* \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 99f2f25..2470805 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -23,11 +23,10 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/welfare?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true - username: root - password: root + username: welfare + password: welfare redis: - password: yjhon.com - host: 121.196.96.144 + host: 127.0.0.1 port: 6379 database: 10 timeout: 10s