Authored by gemingdan

申请推送无需姓名

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