Commit af58ea86 authored by liwenbin's avatar liwenbin

渠道风控属性更改

parent f79e24ac
...@@ -81,7 +81,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService { ...@@ -81,7 +81,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
requestVO.setRealName(userInfoByUuid.getData().getName()); requestVO.setRealName(userInfoByUuid.getData().getName());
Stopwatch stopwatch = Stopwatch.createStarted(); Stopwatch stopwatch = Stopwatch.createStarted();
NiwodaiDataImportCheckResponseVO responseVO = niwodaiService.dataImportCheck(requestVO, uuid); NiwodaiDataImportCheckResponseVO responseVO = niwodaiService.dataImportCheck(requestVO, uuid);
log.info("你我贷进件接口调用完成, uuid : {}, requestVo : {}, responseVo : {}, 耗时 : {}", uuid, JSON.toJSONString(requestVO), JSON.toJSONString(responseVO), stopwatch.stop().elapsed(TimeUnit.SECONDS)); log.info("你我贷准入接口调用完成, uuid : {}, requestVo : {}, responseVo : {}, 耗时 : {}", uuid, JSON.toJSONString(requestVO), JSON.toJSONString(responseVO), stopwatch.stop().elapsed(TimeUnit.SECONDS));
return responseVO; return responseVO;
} }
...@@ -148,7 +148,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService { ...@@ -148,7 +148,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
vo.setCompanyInfo(compnayInfo); vo.setCompanyInfo(compnayInfo);
vo.setMnoData(new NiwodaiCostant.MnoData()); vo.setMnoData(new NiwodaiCostant.MnoData());
NiwodaiCostant.RiskData riskData = getRiskData(userLoanType, data); NiwodaiCostant.RiskData riskData = getRiskData(userLoanType, data);
vo.setChannelRiskData(riskData); vo.setChannelRiskData(JSON.toJSONString(riskData));
return niwodaiService.incoming(vo, assetForm.getUuid()); return niwodaiService.incoming(vo, assetForm.getUuid());
} }
......
...@@ -51,7 +51,7 @@ public class NiwodaiIncomingRequestVO implements Serializable { ...@@ -51,7 +51,7 @@ public class NiwodaiIncomingRequestVO implements Serializable {
/** /**
* 风控数据对象 * 风控数据对象
*/ */
private NiwodaiCostant.RiskData channelRiskData; private String channelRiskData;
public Map<String,Object> toMap(){ public Map<String,Object> toMap(){
return JSONObject.parseObject(JSON.toJSONString(this)); return JSONObject.parseObject(JSON.toJSONString(this));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment