1. 引入 Spring Cloud Alibaba Nacos

2. 移除基于 apollo 实现的 nacos
This commit is contained in:
YunaiV
2022-06-02 22:28:37 +08:00
parent 5b2616fac1
commit 9bb0422c1c
21 changed files with 18 additions and 654 deletions

View File

@@ -2,8 +2,8 @@ server:
port: 48081
--- #################### 数据库相关配置 ####################
spring:
# 数据源配置项
autoconfigure:
exclude:
@@ -72,6 +72,13 @@ spring:
database: 0 # 数据库索引
# password: 123456 # 密码,建议生产环境开启
--- #################### 注册中心相关配置 ####################
spring:
cloud:
nacos:
server-addr: 127.0.0.1:8848
jasypt:
encryptor:
password: yuanma # 加解密的秘钥