update server/src/main/java/cn/keking/config/ConfigConstants.java.

修复删除源文件默认方法的  错误

Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
高雄 2023-04-21 03:31:27 +00:00 committed by Gitee
parent 61ae49f510
commit cfaa431e20
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -71,7 +71,7 @@ public class ConfigConstants {
public static final String DEFAULT_size_DISABLE = "500MB";
public static final String DEFAULT_prohibit_DISABLE = "exe,dll";
public static final String DEFAULT_password_DISABLE = "123456";
public static final String DEFAULT_Delete_Source_File_PREVIEW_TYPE = "false";
public static final String DEFAULT_Delete_Source_File_PREVIEW_TYPE = "true";
public static Boolean isCacheEnabled() {
return cacheEnabled;
@ -412,7 +412,7 @@ public class ConfigConstants {
return deletesourcefile;
}
@Value("${delete.source.file:false}")
@Value("${delete.source.file:true}")
public void setdeletesourcefile(Boolean deletesourcefile) {
setdeletesourcefileValue(deletesourcefile);
}