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