Commit c5a9aa77 authored by 技术部-任文超's avatar 技术部-任文超

补充容错策略描述

parent cc1c67ea
...@@ -1041,6 +1041,7 @@ public class InnerController implements IBaseController { ...@@ -1041,6 +1041,7 @@ public class InnerController implements IBaseController {
} }
List<Contact> contactList = null; List<Contact> contactList = null;
// 目前对空白字符串和null值容错,因是api调用,不考虑对非法格式容错(会阻断注册)
if (StringUtils.isNotBlank(contacts)) { if (StringUtils.isNotBlank(contacts)) {
contactList = JSONObject.parseObject(contacts, new TypeReference<List<Contact>>(){}); contactList = JSONObject.parseObject(contacts, new TypeReference<List<Contact>>(){});
for (Contact contact : contactList) { for (Contact contact : contactList) {
......
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