cf-gateway支持ServiceException国际化

This commit is contained in:
gaoqr
2026-05-09 09:34:11 +08:00
parent 5494c2ef42
commit 6bc9298294
6 changed files with 32 additions and 6 deletions
@@ -16,6 +16,9 @@ spring:
- optional:classpath:application-${spring.profiles.active}.yaml # 加载【本地】配置
- optional:nacos:${spring.application.name}-${spring.profiles.active}.yaml # 加载【Nacos】的配置
messages:
basename: message_errorcode
cloud:
# Spring Cloud Gateway 配置项,对应 GatewayProperties 类
gateway: