Browse Source

将获取文件的接口做额外的处理3

Yangzw 1 month ago
parent
commit
659498b2be

+ 1 - 0
feifan-framework/feifan-common/src/main/java/cn/newfeifan/mall/framework/common/util/servlet/ServletUtils.java

@@ -156,6 +156,7 @@ public class ServletUtils {
      */
     public static File fileTransition(byte[] content) throws IOException{
         File file = new File("data/file/videoTest.mp4");
+        log.info("======file:{}",file);
         if(!file.exists()){
             boolean newFile = file.createNewFile();
             log.info("=====创建文件yse or no:{}",newFile);