lyhzzz 2 年之前
父節點
當前提交
449beb797b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/fdkankan/ucenter/common/utils/AuthLicenseUtil.java

+ 2 - 2
src/main/java/com/fdkankan/ucenter/common/utils/AuthLicenseUtil.java

@@ -42,9 +42,9 @@ public class AuthLicenseUtil {
         if(!file.exists()){
             file.mkdirs();
         }
-        File caches = new File(licensePath + "caches");
+        File caches = new File(licensePath + File.separator+ "caches");
         FileUtil.del(caches);
-        File results = new File(licensePath + "results");
+        File results = new File(licensePath + File.separator+ "results");
         FileUtil.del(results);
 
         JSONObject licenseDataJson = new JSONObject();