mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
禅道bug#1513修复
This commit is contained in:
+2
-2
@@ -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=系统繁忙,请稍后再试
|
||||
Reference in New Issue
Block a user