|
@@ -253,7 +253,7 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
return respDTO.data;
|
|
|
} else {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, respDTO.msg);
|
|
|
+ throw new CommonException(CommonErrorCode.codeOf(respDTO.code), respDTO.msg);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -272,7 +272,7 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
return respDTO.data;
|
|
|
} else {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, respDTO.msg);
|
|
|
+ throw new CommonException(CommonErrorCode.codeOf(respDTO.code), respDTO.msg);
|
|
|
}
|
|
|
}
|
|
|
|