From 3cc6aa69cca0b0d991f8537999c578eaee68e07e Mon Sep 17 00:00:00 2001 From: zhoushihao <zsh19950802@163.com> Date: 星期四, 25 四月 2024 14:33:24 +0800 Subject: [PATCH] 提交项目多环境配置 --- hangzhoumesParent/common/springsecurity/src/main/resources/application.yml | 18 ++---------------- 1 files changed, 2 insertions(+), 16 deletions(-) diff --git a/hangzhoumesParent/common/springsecurity/src/main/resources/application.yml b/hangzhoumesParent/common/springsecurity/src/main/resources/application.yml index d5978be..90bf33d 100644 --- a/hangzhoumesParent/common/springsecurity/src/main/resources/application.yml +++ b/hangzhoumesParent/common/springsecurity/src/main/resources/application.yml @@ -1,24 +1,10 @@ server: port: 8089 spring: - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://10.153.19.150:3306/hangzhoumes?serverTimezone=GMT%2b8&characterEncoding=utf-8&useSSL=false - username: root - password: beibo.123/ - cloud: - nacos: - discovery: - server-addr: 10.153.19.150:8848 + profiles: + active: dev application: name: security - redis: - database: 0 - host: 10.153.19.150 - port: 6379 - password: - session: - store-type: redis mybatis-plus: mapper-locations: classpath*:mapper/*.xml configuration: -- Gitblit v1.8.0