Commit bc7d6c8d authored by 技术部-韩成龙's avatar 技术部-韩成龙

修改回调请求接收类型

parent 5f1738a0
......@@ -30,7 +30,7 @@ public class NewAssertController {
private CoreFilter coreFilter;
@RequestMapping("/core/asset_handler")
public GlobalResponse assetsHandler(@RequestBody @Valid AuditResponce auditResponce) {
public GlobalResponse assetsHandler(AuditResponce auditResponce) {
log.info("风控通知审核结果:{}", JSONObject.toJSONString(auditResponce));
try {
coreFilter.coreHandle(auditResponce);
......
......@@ -94,6 +94,9 @@ public class CoreFilter {
}
routingRecordList.add(generateRouteRecord(channelRuleEntity));
}
if (CollectionUtils.isEmpty(financeProducts)) {
throw new RuntimeException("筛选完成后没有可用的配置");
}
FilterResult result = new FilterResult();
result.setFinanceProducts(JSON.toJSONString(financeProducts));
Map<String,String> response = httpService.postHasResponse(auditResponce.getCallbackUrl(), result.get(auditResponce));
......
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