@@ -549,7 +549,7 @@ public class FaceTBServiceImpl implements FaceTBService {
}
// if (verifytype == 2) {
Map<String, Object> map = (Map<String, Object>) data.get("idCard");
- if (!map.isEmpty()) {
+ if (map!=null && !map.isEmpty()) {
log.info("verifytype==2 代表刷身份证解析身份证 ;{}", data.get("idCard"));
//身份证信息
// Map<String, Object> map = (Map<String, Object>) data.get("idCard");