From 23f02e6b45dd7cf0ab2e7827144913ca59575ea4 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 04 三月 2025 18:59:23 +0800
Subject: [PATCH] jar

---
 src/main/java/com/example/server/utils/DownLoadTmpFile.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/example/server/utils/DownLoadTmpFile.java b/src/main/java/com/example/server/utils/DownLoadTmpFile.java
index 86bd15a..84047c0 100644
--- a/src/main/java/com/example/server/utils/DownLoadTmpFile.java
+++ b/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) {

--
Gitblit v1.9.1