...
|
...
|
@@ -61,7 +61,12 @@ class UserPersionalFactorComponent { |
|
|
JSONObject result = serviceCaller.call(SERVICE_NAME,userPersionalFactorReq,JSONObject.class,timeOut);
|
|
|
RECALL_NEW_LOGGER.info("UserPersionalFactorComponent.result is[{}]",result.toJSONString());
|
|
|
JSONObject userPersonalFactorRspJSon = result.getJSONObject("data");
|
|
|
return JSON.toJavaObject(userPersonalFactorRspJSon,UserPersonalFactorRsp.class);
|
|
|
UserPersonalFactorRsp rsp = JSON.toJavaObject(userPersonalFactorRspJSon,UserPersonalFactorRsp.class);
|
|
|
if(rsp==null ||rsp.getBrandIds()==null || rsp.getSortPriceAreas()==null){
|
|
|
RECALL_NEW_LOGGER.error("query bigdata fail, result is [{}]",result.toJSONString());
|
|
|
return null;
|
|
|
}
|
|
|
return rsp;
|
|
|
}catch (Exception e){
|
|
|
logger.error(e.getMessage(),e);
|
|
|
return null;
|
...
|
...
|
|