算法模块整合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

@@ -22,16 +22,20 @@ 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
- data-Id: data-platform.yaml
- data-id: data-platform.yaml
refresh: true
main:
allow-bean-definition-overriding: true
@@ -39,7 +43,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: info
@@ -50,4 +54,4 @@ mybatis-plus:
type-aliases-package: com.njcn.harmonic.pojo
mqtt:
client-id: @artifactId@${random.value}
client-id: @artifactId@${random.value}