算法模块整合nacos鉴权

This commit is contained in:
cdf
2026-03-21 15:18:25 +08:00
parent d3b4146674
commit 1bda6b1156
5 changed files with 45 additions and 55 deletions

View File

@@ -27,14 +27,18 @@ spring:
ip: @service.server.url@
server-addr: @nacos.url@
namespace: @nacos.namespace@
username: @nacos.username@
password: @nacos.password@
config:
server-addr: @nacos.url@
namespace: @nacos.namespace@
username: @nacos.username@
password: @nacos.password@
file-extension: yaml
shared-configs:
- data-id: share-config.yaml
refresh: true
- data-Id: share-config-datasource-db.yaml
- data-id: share-config-datasource-db.yaml
refresh: true
main:
allow-bean-definition-overriding: true
@@ -48,7 +52,7 @@ spring:
#项目日志的配置
logging:
config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
#config: http://@nacos.url@/nacos/v1/cs/configs?tenant=@nacos.namespace@&group=DEFAULT_GROUP&dataId=logback.xml
level:
root: error
@@ -74,4 +78,4 @@ mybatis-plus:
# db-config:
# date-format: yyyy-MM-dd HH:mm:ss
# global-config:
# enable-sql-runner: true
# enable-sql-runner: true