# Conflicts:
#	youchain-system/src/main/java/com/youchain/AppRun.java
#	youchain-system/src/main/java/com/youchain/modules/license/LicenseValidate.java
main
暴炳林 2024-05-28 10:09:51 +08:00
parent e0585fad31
commit c9e6d8627a
1 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ public class LicenseValidate {
public static void validate() throws Exception{
//读取本地文件
/*FileProperties properties= SpringContextHolder.getBean(FileProperties.class);
FileProperties properties= SpringContextHolder.getBean(FileProperties.class);
log.info(properties.getPath().getPath());
String result="";
try{
@ -31,7 +31,7 @@ public class LicenseValidate {
result = fileReader.readString();
}catch (Exception e){
throw new BadRequestException("License不存在,请上传License");
// throw new BadRequestException("License不存在,请上传License");
}
log.error(result);
@ -67,7 +67,7 @@ public class LicenseValidate {
}
}catch (Exception e){
throw new BadRequestException("无效的License,请重新生成");
}*/
}
}