parent
f3e96d85be
commit
50641d2a5f
2
pom.xml
2
pom.xml
|
@ -17,7 +17,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>com.dispose</groupId>
|
<groupId>com.dispose</groupId>
|
||||||
<artifactId>dispose_platform</artifactId>
|
<artifactId>dispose_platform</artifactId>
|
||||||
<version>2.0.8.7</version>
|
<version>2.0.8.8</version>
|
||||||
<name>dispose_platform</name>
|
<name>dispose_platform</name>
|
||||||
<description>Dispose Platform</description>
|
<description>Dispose Platform</description>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -189,7 +189,9 @@ public class PengXinAbilityImpl implements DisposeAbility {
|
||||||
err = verifyRespStatus(rspInfo.getMsgContent().getItems().get(0).getStatus());
|
err = verifyRespStatus(rspInfo.getMsgContent().getItems().get(0).getStatus());
|
||||||
|
|
||||||
if (err != ErrorCode.ERR_OK) {
|
if (err != ErrorCode.ERR_OK) {
|
||||||
log.error("----Error PengXin start clean {} server return {}", disposeObject, err.getMsg());
|
log.error("----Error PengXin start clean {} server return {}({})", disposeObject,
|
||||||
|
rspInfo.getMsgContent().getItems().get(0).getStatus(),
|
||||||
|
rspInfo.getMsgContent().getItems().get(0).getMessage());
|
||||||
return new MulReturnType<>(err, disposeObject);
|
return new MulReturnType<>(err, disposeObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -559,7 +561,13 @@ public class PengXinAbilityImpl implements DisposeAbility {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return CommonEnumHandler.codeOf(ErrorCode.class, status);
|
ErrorCode err = CommonEnumHandler.codeOf(ErrorCode.class, status);
|
||||||
|
|
||||||
|
if (err == null) {
|
||||||
|
return ErrorCode.ERR_CALLDEVICE;
|
||||||
|
} else {
|
||||||
|
return err;
|
||||||
|
}
|
||||||
} catch (Exception ignored) {
|
} catch (Exception ignored) {
|
||||||
if (status == ErrorCode.ERR_OK.getCode()) {
|
if (status == ErrorCode.ERR_OK.getCode()) {
|
||||||
return ErrorCode.ERR_OK;
|
return ErrorCode.ERR_OK;
|
||||||
|
|
|
@ -97,7 +97,13 @@ public class PengXinInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return CommonEnumHandler.codeOf(ErrorCode.class, rspInfo.getCode());
|
ErrorCode err = CommonEnumHandler.codeOf(ErrorCode.class, rspInfo.getCode());
|
||||||
|
|
||||||
|
if (err == null) {
|
||||||
|
return ErrorCode.ERR_CALLDEVICE;
|
||||||
|
} else {
|
||||||
|
return err;
|
||||||
|
}
|
||||||
} catch (Exception ignored) {
|
} catch (Exception ignored) {
|
||||||
if (rspInfo.getCode() == ErrorCode.ERR_OK.getCode()) {
|
if (rspInfo.getCode() == ErrorCode.ERR_OK.getCode()) {
|
||||||
return ErrorCode.ERR_OK;
|
return ErrorCode.ERR_OK;
|
||||||
|
|
Loading…
Reference in New Issue