From 2e5e8889969e60ced6821fcdb29d2a79235ed810 Mon Sep 17 00:00:00 2001 From: tangxiaobao <303826152@qq.com> Date: 星期四, 26 八月 2021 11:10:11 +0800 Subject: [PATCH] 社区活动改版后台接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/FileUtil.java | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/FileUtil.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/FileUtil.java index d4665b4..54db2c6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/FileUtil.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/utlis/FileUtil.java @@ -1,17 +1,16 @@ -package com.alibaba.easyexcel.test.util; +package com.panzhihua.common.utlis; import java.io.File; import java.io.InputStream; -public class TestFileUtil { - +public class FileUtil { public static InputStream getResourcesFileInputStream(String fileName) { return Thread.currentThread().getContextClassLoader().getResourceAsStream("" + fileName); } public static String getPath() { - return TestFileUtil.class.getResource("/").getPath(); + return FileUtil.class.getResource("/").getPath(); } public static File createNewFile(String pathName) { -- Gitblit v1.7.1