禅道bug#1513修复

This commit is contained in:
gaoqr
2026-06-12 17:32:16 +08:00
parent 0dbc17e8e3
commit dcc4ca030f
4 changed files with 8 additions and 8 deletions
@@ -171,9 +171,9 @@ public class TokenAuthenticationFilter implements GlobalFilter, Ordered {
} else if (ORGAN_NOT_EXISTS.getCode().equals(code)) {
throw new ServiceException(ORGAN_NOT_EXISTS, locale);
} else if (ORGAN_DISABLE.getCode().equals(code)) {
throw new ServiceException(new ErrorCode(code, msg), locale, args);
throw new ServiceException(ORGAN_DISABLE, locale);
} else if (ORGAN_EXPIRE.getCode().equals(code)) {
throw new ServiceException(new ErrorCode(code, msg), locale, args);
throw new ServiceException(ORGAN_EXPIRE, locale);
}
}
}
@@ -1,6 +1,6 @@
token.time.is_expires=當前token已過期,請重新配置或延長時間
token.config.not_exists=當前應用的token配置不存在
organ.not_exists=組織不存在
organ.disable=[{0}]組織已被禁用
organ.expire=[{0}]組織已過期
organ.disable=組織已被禁用
organ.expire=組織已過期
global.error.default.error=系統繁忙,請稍後再試
@@ -1,6 +1,6 @@
token.time.is_expires=The current token has expired. Please reconfigure or extend the validity period
token.config.not_exists=The token configuration for the current application does not exist
organ.not_exists=Organization does not exist
organ.disable=Organization [{0}] has been disabled
organ.expire=Organization [{0}] has expired
organ.disable=Organization has been disabled
organ.expire=Organization has expired
global.error.default.error=System is busy, please try again later
@@ -1,6 +1,6 @@
token.time.is_expires=当前token已过期,请重新配置或延长时间
token.config.not_exists=当前应用的token配置不存在
organ.not_exists=组织不存在
organ.disable=[{0}]组织已被禁用
organ.expire=[{0}]组织已过期
organ.disable=组织已被禁用
organ.expire=组织已过期
global.error.default.error=系统繁忙,请稍后再试