leo.xie лет назад: 3
Родитель
Сommit
0b22919230
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/ads/business/service/impl/DocServiceImpl.java

+ 1 - 1
src/main/java/com/ads/business/service/impl/DocServiceImpl.java

@@ -336,7 +336,7 @@ public class DocServiceImpl extends ServiceImpl<DocDao, Doc> implements DocServi
         }
         String pictureFilePath = docUrl.replace(domain,pictureConfig.getBasePath());
         if(!new File(pictureFilePath).exists()){
-            throw new BusinessException("当前图片不存在");
+            throw new BusinessException("当前图片不存在"+pictureFilePath);
         }
 
         if (!fromFile.exists()) {