lyhzzz 2 лет назад
Родитель
Сommit
449beb797b

+ 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();