From 007875a14a8cc1ebaa999a5962d1a921a30e936b Mon Sep 17 00:00:00 2001 From: chenhao Date: Mon, 23 Mar 2026 11:22:28 +0800 Subject: [PATCH] Update database and Redis configuration, switch to spring-boot-starter-security --- backend/pom.xml | 4 ++-- backend/src/main/resources/application.yml | 12 +++++------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/backend/pom.xml b/backend/pom.xml index f7b8180..e8a7496 100644 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -36,8 +36,8 @@ spring-boot-starter-aop - org.springframework.security - spring-security-core + org.springframework.boot + spring-boot-starter-security com.baomidou diff --git a/backend/src/main/resources/application.yml b/backend/src/main/resources/application.yml index 1851c13..8b8774d 100644 --- a/backend/src/main/resources/application.yml +++ b/backend/src/main/resources/application.yml @@ -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