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