parent
83f993304a
commit
8d5191e609
|
@ -89,8 +89,12 @@ public class PengXinInterface {
|
||||||
if (rspInfo != null && rspInfo.getMsgContent() != null) {
|
if (rspInfo != null && rspInfo.getMsgContent() != null) {
|
||||||
if (rspInfo.getCode() == HttpServletResponse.SC_UNAUTHORIZED) {
|
if (rspInfo.getCode() == HttpServletResponse.SC_UNAUTHORIZED) {
|
||||||
return ErrorCode.ERR_LOGOUT;
|
return ErrorCode.ERR_LOGOUT;
|
||||||
} else if (rspInfo.getMsgContent().getStatus() == ErrorCode.ERR_OK.getCode()) {
|
} else if (rspInfo.getCode() == HttpServletResponse.SC_OK) {
|
||||||
return ErrorCode.ERR_OK;
|
if(rspInfo.getMsgContent().getStatus() != ErrorCode.ERR_OK.getCode()){
|
||||||
|
return ErrorCode.ERR_LOGOUT;
|
||||||
|
} else {
|
||||||
|
return ErrorCode.ERR_OK;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue