jar
jinlin
2025-03-04 23f02e6b45dd7cf0ab2e7827144913ca59575ea4
src/main/java/com/example/server/utils/DownLoadTmpFile.java
@@ -1,6 +1,7 @@
package com.example.server.utils;
import com.example.Application;
import org.springframework.beans.factory.annotation.Value;
import javax.swing.*;
import java.io.*;
@@ -9,7 +10,6 @@
public class DownLoadTmpFile {
    public static void down(String name,JFrame frame1){
        name = "templateFile/" + name;
        InputStream inputStream = Application.class.getClassLoader().getResourceAsStream(name);
        if (inputStream == null) {