Authored by chenchao

check img url

... ... @@ -247,6 +247,14 @@ public class ImperfectPublishProcessor implements PublishProcessor<ImperfectOrde
iosr.getUid(), iosr.getStorageId(), imageList);
throw new UfoServiceException(400, "imageList[type]错误");
}
String imgUrl = igi.getImageUrl();
if (StringUtils.isBlank(imgUrl)){
logger.warn("checkImperfectGoodsInfo imageList type error uid {} storage id {} imageList {}",
iosr.getUid(), iosr.getStorageId(), imageList);
throw new UfoServiceException(400, "imageList[imageUrl]错误");
}
if (type == ImageType.feature.code){
featureImageList.add(igi);
}
... ...