leo.xie 3 년 전
부모
커밋
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()) {