Update database and Redis configuration, switch to spring-boot-starter-security

main
chenhao 2026-03-23 11:22:28 +08:00
parent 3dc454881a
commit 007875a14a
2 changed files with 7 additions and 9 deletions

View File

@ -36,8 +36,8 @@
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>

View File

@ -9,16 +9,16 @@ spring:
max-file-size: 20MB
max-request-size: 25MB
datasource:
url: jdbc:postgresql://127.0.0.1:5432/nex_auth
url: jdbc:postgresql://192.168.124.202:5432/unis_crm
username: postgres
password: 199628
password: unis@123
driver-class-name: org.postgresql.Driver
data:
redis:
host: 127.0.0.1
host: 192.168.124.202
port: 6379
password: 199628@tlw
database: 14
password: zghz@123
database: 12
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
@ -32,8 +32,6 @@ logging:
com.unis.crm: info
unisbase:
tenant:
enabled: false
web:
auth-endpoints-enabled: true
management-endpoints-enabled: true