|
@@ -181,9 +181,6 @@ public class FhAppSyncBusinessImpl implements IFhAppSyncBusiness {
|
|
|
String messageStatus = appResource.getMessageStatus();
|
|
|
String remark = appResource.getRemark();
|
|
|
log.info("调用应用同步接口接口返回 messageStatus:{}, remark:{}", messageStatus, remark);
|
|
|
- if (!FH_SUCCESS_STATUS.equals(messageStatus)) {
|
|
|
- return ResponseDTO.fail("同步失败", (Object) null);
|
|
|
- }
|
|
|
FhResponseParamRespDTO responseParam = appResource.getResponseParam();
|
|
|
Long totalNum = responseParam.getTotalNum();
|
|
|
log.info("同步获取的应用资源数量:{}", totalNum);
|
|
@@ -213,7 +210,8 @@ public class FhAppSyncBusinessImpl implements IFhAppSyncBusiness {
|
|
|
log.error("调用同步接口响应异常. 响应结果:{}", JsonUtils.toJSONString(exchange));
|
|
|
return ResponseDTO.fail("同步失败", (Object) null);
|
|
|
}
|
|
|
- String body = exchange.getBody();
|
|
|
+ String body = exchange.getBody();log.info("同步应用资源请求参数:{}", requestParam);
|
|
|
+ log.info("同步应用资源响应结果:{}", body);
|
|
|
// 解析响应结果
|
|
|
if (StringUtils.isBlank(body)) {
|
|
|
log.error("同步应用资源,响应内容为空");
|