!218 配置文件分类调整,按照模块分类调整 以后更加直观找到需要的功能

Merge pull request !218 from 高雄/peizhi
pull/219/MERGE
kailing 1 year ago committed by Gitee
commit 381e1d6b43
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -23,28 +23,44 @@ spring.freemarker.expose-session-attributes = true
spring.freemarker.request-context-attribute = request spring.freemarker.request-context-attribute = request
spring.freemarker.suffix = .ftl spring.freemarker.suffix = .ftl
# office-plugin # office
#openofficeLibreOffice home
#office.home = C:\\Program Files (x86)\\OpenOffice 4
office.home = ${KK_OFFICE_HOME:default}
## office ## office
office.plugin.server.ports = 2001,2002 office.plugin.server.ports = 2001,2002
## office task ## office task
office.plugin.task.timeout = 5m office.plugin.task.timeout = 5m
# 使 (1-5)
office.pagerange = ${KK_OFFICE_PAGERANGE:false}
# 使 (kkFileView)
office.watermark = ${KK_OFFICE_WATERMARK:false}
#OFFICE JPEG
office.quality = ${KK_OFFICE_QUALITY:80}
#
office.maximageresolution = ${KK_OFFICE_MAXIMAGERESOLUTION:150}
#
office.exportbookmarks = ${KK_OFFICE_EXPORTBOOKMARKS:true}
#PDF
office.exportnotes = ${KK_OFFICE_EXPORTNOTES:true}
# PDF ()
office.documentopenpasswords = ${KK_OFFICE_DOCUMENTOPENPASSWORD:true}
#xlsx
office.type.web = ${KK_OFFICE_TYPE_WEB:web}
#
#file #file
#file.dir = D:\\kkFileview\\ #file.dir = D:\\kkFileview\\
file.dir = ${KK_FILE_DIR:default} file.dir = ${KK_FILE_DIR:default}
# #
#WINDOWS local.preview.dir = \D:\\kkFileview\\1\\1.txt () #WINDOWS local.preview.dir = \D:\\kkFileview\\1\\1.txt ()
#LINUX local.preview.dir = /opt/1.txt () #LINUX local.preview.dir = /opt/1.txt ()
#使 windows file://d:/1/1.txt linux file:/opt/1/1.txt #使 windows file://d:/1/1.txt linux file:/opt/1/1.txt
#file https://datatracker.ietf.org/doc/html/rfc8089 #file https://datatracker.ietf.org/doc/html/rfc8089
local.preview.dir = ${KK_LOCAL_PREVIEW_DIR:default} local.preview.dir = ${KK_LOCAL_PREVIEW_DIR:default}
#
cache.enabled = ${KK_CACHE_ENABLED:true}
#openoffice home
#office.home = C:\\Program Files (x86)\\OpenOffice 4
office.home = ${KK_OFFICE_HOME:default}
#RocksDB(type = default)redis(type = redis)spring.redisson.address JDK type = jdk, #RocksDB(type = default)redis(type = redis)spring.redisson.address JDK type = jdk,
cache.type = ${KK_CACHE_TYPE:jdk} cache.type = ${KK_CACHE_TYPE:jdk}
#rediscache.type = redis #rediscache.type = redis
@ -54,20 +70,26 @@ spring.redisson.password = ${KK_SPRING_REDISSON_PASSWORD:}
cache.clean.enabled = ${KK_CACHE_CLEAN_ENABLED:true} cache.clean.enabled = ${KK_CACHE_CLEAN_ENABLED:true}
#cache.clean.enabled = truecronQuartz cron #cache.clean.enabled = truecronQuartz cron
cache.clean.cron = ${KK_CACHE_CLEAN_CRON:0 0 3 * * ?} cache.clean.cron = ${KK_CACHE_CLEAN_CRON:0 0 3 * * ?}
############################################################################## ##############################################################################
#url使nginx #url使nginx
#base.url = https://file.keking.cn #base.url = https://file.keking.cn
base.url = ${KK_BASE_URL:default} base.url = ${KK_BASE_URL:default}
#',' #','
#trust.host = kkview.cn #trust.host = kkview.cn
trust.host = ${KK_TRUST_HOST:default} trust.host = ${KK_TRUST_HOST:default}
#
cache.enabled = ${KK_CACHE_ENABLED:true}
# #
simText = ${KK_SIMTEXT:txt,html,htm,asp,jsp,xml,json,properties,md,gitignore,log,java,py,c,cpp,sql,sh,bat,m,bas,prg,cmd} simText = ${KK_SIMTEXT:txt,html,htm,asp,jsp,xml,json,properties,md,gitignore,log,java,py,c,cpp,sql,sh,bat,m,bas,prg,cmd}
#FTP
#FTP FTPftp urlftp.username=ftpuser
ftp.username = ${KK_FTP_USERNAME:ftpuser}
#FTP FTPftp urlftp.password=123456
ftp.password = ${KK_FTP_PASSWORD:123456}
#FTP, FTPControlEncoding(FTPLinuxUTF-8WindowsGBK)ftp urlftp.control.encoding=UTF-8
ftp.control.encoding = ${KK_FTP_CONTROL_ENCODING:UTF-8}
#
# #
media = ${KK_MEDIA:mp3,wav,mp4,flv} media = ${KK_MEDIA:mp3,wav,mp4,flv}
#,avi,mov,wmv,3gp,rm #,avi,mov,wmv,3gp,rm
@ -75,12 +97,12 @@ media = ${KK_MEDIA:mp3,wav,mp4,flv}
media.convert.disable = ${KK_MEDIA_CONVERT_DISABLE:false} media.convert.disable = ${KK_MEDIA_CONVERT_DISABLE:false}
# #
convertMedias = ${KK_CONVERTMEDIAS:avi,mov,wmv,mkv,3gp,rm} convertMedias = ${KK_CONVERTMEDIAS:avi,mov,wmv,mkv,3gp,rm}
#office(word ppt)(image)pdf
office.preview.type = ${KK_OFFICE_PREVIEW_TYPE:image}
#officefalsetrue
office.preview.switch.disabled = ${KK_OFFICE_PREVIEW_SWITCH_DISABLED:false}
#PDF #PDF
#PDFdpi
pdf2jpg.dpi = ${KK_PDF2JPG_DPI:144}
# #
pdf.presentationMode.disable = ${KK_PDF_PRESENTATION_MODE_DISABLE:true} pdf.presentationMode.disable = ${KK_PDF_PRESENTATION_MODE_DISABLE:true}
# #
@ -93,13 +115,11 @@ pdf.download.disable = ${KK_PDF_DOWNLOAD_DISABLE:true}
pdf.bookmark.disable = ${KK_PDF_BOOKMARK_DISABLE:true} pdf.bookmark.disable = ${KK_PDF_BOOKMARK_DISABLE:true}
# #
pdf.disable.editing = ${KK_PDF_DISABLE_EDITING:false} pdf.disable.editing = ${KK_PDF_DISABLE_EDITING:false}
#office(word ppt)(image)pdf
office.preview.type = ${KK_OFFICE_PREVIEW_TYPE:image}
#officefalsetrue
office.preview.switch.disabled = ${KK_OFFICE_PREVIEW_SWITCH_DISABLED:false}
#FTP FTPftp urlftp.username=ftpuser
ftp.username = ${KK_FTP_USERNAME:ftpuser}
#FTP FTPftp urlftp.password=123456
ftp.password = ${KK_FTP_PASSWORD:123456}
#FTP, FTPControlEncoding(FTPLinuxUTF-8WindowsGBK)ftp urlftp.control.encoding=UTF-8
ftp.control.encoding = ${KK_FTP_CONTROL_ENCODING:UTF-8}
# #
#watermark.txt = ${WATERMARK_TXT:} #watermark.txt = ${WATERMARK_TXT:}
@ -125,10 +145,9 @@ watermark.height = ${WATERMARK_HEIGHT:80}
watermark.angle = ${WATERMARK_ANGLE:10} watermark.angle = ${WATERMARK_ANGLE:10}
#
# #
file.upload.disable = ${KK_FILE_UPLOAD_ENABLED:false} file.upload.disable = ${KK_FILE_UPLOAD_ENABLED:false}
#Tiftifjsjpgjpgpdfpdf便
tif.preview.type = ${KK_TIF_PREVIEW_TYPE:tif}
# #
beian = ${KK_BEIAN:default} beian = ${KK_BEIAN:default}
# #
@ -139,10 +158,14 @@ delete.captcha= ${KK_DELETE_CAPTCHA:false}
delete.password = ${KK_DELETE_PASSWORD:123456} delete.password = ${KK_DELETE_PASSWORD:123456}
# OFFICECADTIFF # OFFICECADTIFF
delete.source.file = ${KK_DELETE_SOURCE_FILE:true} delete.source.file = ${KK_DELETE_SOURCE_FILE:true}
#PDFdpi
pdf2jpg.dpi = ${KK_PDF2JPG_DPI:144}
#xlsx
office.type.web = ${KK_OFFICE_TYPE_WEB:web} #Tif
#Tiftifjsjpgjpgpdfpdf便
tif.preview.type = ${KK_TIF_PREVIEW_TYPE:tif}
#Cad
#Cadtifjssvgsvgpdfpdf便 #Cadtifjssvgsvgpdfpdf便
cad.preview.type = ${KK_CAD_PREVIEW_TYPE:svg} cad.preview.type = ${KK_CAD_PREVIEW_TYPE:svg}
#Cad #Cad
@ -150,18 +173,4 @@ cad.timeout =${KK_CAD_TIMEOUT:90}
#Cad线 #Cad线
cad.thread =${KK_CAD_THREAD:5} cad.thread =${KK_CAD_THREAD:5}
#OFFICE
# 使 (1-5)
office.pagerange = ${KK_OFFICE_PAGERANGE:false}
# 使 (kkFileView)
office.watermark = ${KK_OFFICE_WATERMARK:false}
#OFFICE JPEG
office.quality = ${KK_OFFICE_QUALITY:80}
#
office.maximageresolution = ${KK_OFFICE_MAXIMAGERESOLUTION:150}
#
office.exportbookmarks = ${KK_OFFICE_EXPORTBOOKMARKS:true}
#PDF
office.exportnotes = ${KK_OFFICE_EXPORTNOTES:true}
# PDF ()
office.documentopenpasswords = ${KK_OFFICE_DOCUMENTOPENPASSWORD:true}

Loading…
Cancel
Save