|
|
@@ -208,7 +208,7 @@ public class AppFileUtil {
|
|
|
public static String unZipFile(MultipartFile file) {
|
|
|
logger.warn("unZipFile = 开始====================================================");
|
|
|
String unZipFilePath = null;
|
|
|
- String rootRealPath = AppFileUtil.getRealPath("/"+AppFileUtil.TEMP_PATH); // 操作的根目录
|
|
|
+ String rootRealPath = AppFileUtil.getBasePath(); // 操作的根目录
|
|
|
logger.warn("<========rootRealPath====={}.", rootRealPath);
|
|
|
File dir = new File(rootRealPath);
|
|
|
if (!dir.exists() || (dir.exists() && dir.isFile())) {
|