新增异常兜底返回
This commit is contained in:
+4
@@ -2761,6 +2761,7 @@ public class AddressController {
|
||||
}
|
||||
BasicModel resultModel = new BasicModel(HttpStatusCodeEnum.OK);
|
||||
Map<String, String> resultMap = new HashMap<String, String>();
|
||||
try {
|
||||
Map<String, Object> params = new HashMap<String, Object>();
|
||||
if (StringUtils.isNotBlank(model.getCity())) {
|
||||
params.put("city", model.getCity());
|
||||
@@ -2810,6 +2811,9 @@ public class AddressController {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
LOGGER.error("风险识别出错:" + ex.getMessage(), ex);
|
||||
}
|
||||
|
||||
resultMap.put("riskLevel","C");
|
||||
resultModel.setResult(resultMap);
|
||||
|
||||
Reference in New Issue
Block a user