REM:
1. 修复一处代码检测警告
This commit is contained in:
HuangXin 2021-10-09 10:47:48 +08:00
parent cbb1d29a63
commit 31265036f0
1 changed files with 29 additions and 26 deletions

View File

@ -510,12 +510,15 @@ public class PengXinAbilityImpl implements DisposeAbility {
return true; return true;
} }
if (rspInfo.getCode() == HttpServletResponse.SC_OK && if (rspInfo.getCode() == HttpServletResponse.SC_OK) {
(status == ErrorCode.ERR_LOGOUT.getCode() || status == ErrorCode.ERR_TOKENTIMEOUT.getCode() || if (status == ErrorCode.ERR_LOGOUT.getCode() ||
status == ErrorCode.ERR_TOKENNOTFOUND.getCode())) { status == ErrorCode.ERR_TOKENTIMEOUT.getCode() ||
status == ErrorCode.ERR_TOKENNOTFOUND.getCode()) {
upgradeToken(); upgradeToken();
return true; return true;
} }
}
return false; return false;
} catch (Exception ignored) { } catch (Exception ignored) {
return false; return false;