2
0

feat: i18n local file

This commit is contained in:
zhangsz
2025-01-22 20:56:32 +08:00
parent c31cd7a906
commit 88e6a9d61d
4 changed files with 29 additions and 14 deletions

View File

@@ -4,16 +4,16 @@ spring:
mvc:
pathmatch:
matching-strategy: ant_path_matcher
# 资源信息
# i18n resource file path
messages:
# 国际化资源文件路径
basename: i18n/messages
# i18n resource file path
basename: optional:file:/opt/wfc/conf/i18n/messages,i18n/messages
# Enable remote debugging
devtools:
remote:
secret: 123456
# feign 配置
# feign config
feign:
sentinel:
enabled: true
@@ -34,16 +34,17 @@ feign:
response:
enabled: true
# 暴露监控端点
# eureka config
management:
endpoints:
web:
exposure:
include: '*'
# Omada 配置
# Omada config
omada:
omada-url: 'https://192.168.2.249:8043'
omadac-id: 'f3aa6e479b94222581523710cc2c2a9d'
client-id: '5036e77c81a74008821c694a715fe2b8'
client-secret: '29faa06fb7f244b094377b48eb3083a7'
# web url or host exp: 'https://192.168.2.249:8043'
omada-url: 'https://aps1-omada-northbound.tplinkcloud.com'
omadac-id: '10ccde5bfee5142b28a07f6146f41056'
client-id: '48b3be2083dd4fbdb5f7cfd5c3a4abb6'
client-secret: '2556dfcafe6d4288b3f0921aa6391c76'