Authored by gemingdan

申请推送无需姓名

@@ -1281,7 +1281,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -1281,7 +1281,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
1281 throw new ServiceException(ServiceError.UNION_HAS_APPLY_ERROR); 1281 throw new ServiceException(ServiceError.UNION_HAS_APPLY_ERROR);
1282 } 1282 }
1283 // 校验姓名 1283 // 校验姓名
1284 - if (req.getName() != null && !ChineseNameUtils.checkName(req.getName())) { 1284 + if (StringUtils.isNotBlank(req.getName()) && !ChineseNameUtils.checkName(req.getName())) {
1285 throw new ServiceException(ServiceError.UNION_CHINESE_NAME_ERROR); 1285 throw new ServiceException(ServiceError.UNION_CHINESE_NAME_ERROR);
1286 } 1286 }
1287 req.setSocialMediaList(filterSocialMedia(req.getSocialMediaList())); 1287 req.setSocialMediaList(filterSocialMedia(req.getSocialMediaList()));