perf;区分token过期
This commit is contained in:
@@ -101,7 +101,8 @@ public class TsTokenConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (tokenBean == null && thrExp) {
|
if (tokenBean == null && thrExp) {
|
||||||
throw new ApiException(StrUtil.isEmpty(token) ? "请先登录" : "登录过期,请重新登陆");
|
throw new ApiException(StrUtil.isEmpty(token) ? 110 : 112,
|
||||||
|
StrUtil.isEmpty(token) ? "请先登录" : "登录过期,请重新登陆");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tokenBean == null) {
|
if (tokenBean == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user