first commit

This commit is contained in:
bigtian 2022-07-15 14:21:27 +08:00
parent cfe20cbdd6
commit 706274d28d
831 changed files with 12 additions and 292190 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,2 @@
9xml:S125§"Remove this commented out code.(—†<E28094>Âûÿÿÿÿ

View File

@ -45,3 +45,9 @@ j
:server/src/main/java/cn/keking/config/ConfigConstants.java,7/3/734d786fd7c875965a158e34ad7fbc1567dfbd09
?
Dockerfile_test,9/d/9da9198ecc5a67e3933b4f9bfd225ad017ffb0d0
>
server/pom.xml,0/8/08a8b343eb3d041b4e874e74bf19e4275b4be110
^
.server/src/main/java/cn/keking/ServerMain.java,1/0/10063ed6b36fc975afe394320e60bd020496e74a
9
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d

View File

@ -8,6 +8,8 @@
### 销售合同
* 请求路径 /contract/gen/sellContract

BIN
office-plugin/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,188 +0,0 @@
[
{
"name": "Portable Document Format",
"extension": "pdf",
"mediaType": "application/pdf",
"storePropertiesByFamily": {
"DRAWING": {"FilterName": "draw_pdf_Export"},
"SPREADSHEET": {"FilterName": "calc_pdf_Export"},
"PRESENTATION": {"FilterName": "impress_pdf_Export"},
"TEXT": {"FilterName": "writer_pdf_Export"}
}
},
{
"name": "Macromedia Flash",
"extension": "swf",
"mediaType": "application/x-shockwave-flash",
"storePropertiesByFamily": {
"DRAWING": {"FilterName": "draw_flash_Export"},
"PRESENTATION": {"FilterName": "impress_flash_Export"}
}
},
{
"name": "HTML",
"extension": "html",
"mediaType": "text/html",
"inputFamily": "TEXT",
"storePropertiesByFamily": {
"SPREADSHEET": {"FilterName": "HTML (StarCalc)"},
"PRESENTATION": {"FilterName": "impress_html_Export"},
"TEXT": {"FilterName": "HTML (StarWriter)"}
}
},
{
"name": "OpenDocument Text",
"extension": "odt",
"mediaType": "application/vnd.oasis.opendocument.text",
"inputFamily": "TEXT",
"storePropertiesByFamily": {"TEXT": {"FilterName": "writer8"}}
},
{
"name": "OpenOffice.org 1.0 Text Document",
"extension": "sxw",
"mediaType": "application/vnd.sun.xml.writer",
"inputFamily": "TEXT",
"storePropertiesByFamily": {"TEXT": {"FilterName": "StarOffice XML (Writer)"}}
},
{
"name": "Microsoft Word",
"extension": "doc",
"mediaType": "application/msword",
"inputFamily": "TEXT",
"storePropertiesByFamily": {"TEXT": {"FilterName": "MS Word 97"}}
},
{
"name": "Microsoft Word 2007 XML",
"extension": "docx",
"mediaType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"inputFamily": "TEXT"
},
{
"name": "Rich Text Format",
"extension": "rtf",
"mediaType": "text/rtf",
"inputFamily": "TEXT",
"storePropertiesByFamily": {"TEXT": {"FilterName": "Rich Text Format"}}
},
{
"name": "WordPerfect",
"extension": "wpd",
"mediaType": "application/wordperfect",
"inputFamily": "TEXT"
},
{
"name": "Plain Text",
"extension": "txt",
"mediaType": "text/plain",
"inputFamily": "TEXT",
"loadProperties": {
"FilterName": "Text (encoded)",
"FilterOptions": "utf8"
},
"storePropertiesByFamily": {"TEXT": {
"FilterName": "Text (encoded)",
"FilterOptions": "utf8"
}}
},
{
"name": "MediaWiki wikitext",
"extension": "wiki",
"mediaType": "text/x-wiki",
"storePropertiesByFamily": {"TEXT": {"FilterName": "MediaWiki"}}
},
{
"name": "OpenDocument Spreadsheet",
"extension": "ods",
"mediaType": "application/vnd.oasis.opendocument.spreadsheet",
"inputFamily": "SPREADSHEET",
"storePropertiesByFamily": {"SPREADSHEET": {"FilterName": "calc8"}}
},
{
"name": "OpenOffice.org 1.0 Spreadsheet",
"extension": "sxc",
"mediaType": "application/vnd.sun.xml.calc",
"inputFamily": "SPREADSHEET",
"storePropertiesByFamily": {"SPREADSHEET": {"FilterName": "StarOffice XML (Calc)"}}
},
{
"name": "Microsoft Excel",
"extension": "xls",
"mediaType": "application/vnd.ms-excel",
"inputFamily": "SPREADSHEET",
"storePropertiesByFamily": {"SPREADSHEET": {"FilterName": "MS Excel 97"}}
},
{
"name": "Microsoft Excel 2007 XML",
"extension": "xlsx",
"mediaType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"inputFamily": "SPREADSHEET"
},
{
"name": "Comma Separated Values",
"extension": "csv",
"mediaType": "text/csv",
"inputFamily": "SPREADSHEET",
"loadProperties": {
"FilterName": "Text - txt - csv (StarCalc)",
"FilterOptions": "44,34,0"
},
"storePropertiesByFamily": {"SPREADSHEET": {
"FilterName": "Text - txt - csv (StarCalc)",
"FilterOptions": "44,34,0"
}}
},
{
"name": "Tab Separated Values",
"extension": "tsv",
"mediaType": "text/tab-separated-values",
"inputFamily": "SPREADSHEET",
"loadProperties": {
"FilterName": "Text - txt - csv (StarCalc)",
"FilterOptions": "9,34,0"
},
"storePropertiesByFamily": {"SPREADSHEET": {
"FilterName": "Text - txt - csv (StarCalc)",
"FilterOptions": "9,34,0"
}}
},
{
"name": "OpenDocument Presentation",
"extension": "odp",
"mediaType": "application/vnd.oasis.opendocument.presentation",
"inputFamily": "PRESENTATION",
"storePropertiesByFamily": {"PRESENTATION": {"FilterName": "impress8"}}
},
{
"name": "OpenOffice.org 1.0 Presentation",
"extension": "sxi",
"mediaType": "application/vnd.sun.xml.impress",
"inputFamily": "PRESENTATION",
"storePropertiesByFamily": {"PRESENTATION": {"FilterName": "StarOffice XML (Impress)"}}
},
{
"name": "Microsoft PowerPoint",
"extension": "ppt",
"mediaType": "application/vnd.ms-powerpoint",
"inputFamily": "PRESENTATION",
"storePropertiesByFamily": {"PRESENTATION": {"FilterName": "MS PowerPoint 97"}}
},
{
"name": "Microsoft PowerPoint 2007 XML",
"extension": "pptx",
"mediaType": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"inputFamily": "PRESENTATION"
},
{
"name": "OpenDocument Drawing",
"extension": "odg",
"mediaType": "application/vnd.oasis.opendocument.graphics",
"inputFamily": "DRAWING",
"storePropertiesByFamily": {"DRAWING": {"FilterName": "draw8"}}
},
{
"name": "Scalable Vector Graphics",
"extension": "svg",
"mediaType": "image/svg+xml",
"storePropertiesByFamily": {"DRAWING": {"FilterName": "draw_svg_Export"}}
}
]

BIN
server/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,10 +0,0 @@
#kkfile.cache.type=default
#kkfile.fileDir=/appdata/upload/crm-print
kkfile.fileDir=./server/src/main/file
kkfile.baseUrl = http://localhost:9089
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIya3FTbmE1TmoweTBmQzhETEJPd1dVdmxuRWNyZUQ4NiJ9.0iPPXwIiMHdQ0UVJ_bL5SYC4y_FLu6pGaJzmu0WV1Ao
kkfile.localfileUrl=http://localhost:9089
# 开启增强配置
knife4j.enable=true
kkfile.fileUploadDisable = false
log.path=./logs/crm-print

View File

@ -1,10 +0,0 @@
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl=http://192.168.21.31/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIya3FTbmE1TmoweTBmQzhETEJPd1dVdmxuRWNyZUQ4NiJ9.0iPPXwIiMHdQ0UVJ_bL5SYC4y_FLu6pGaJzmu0WV1Ao
kkfile.localfileUrl=http://192.168.21.31/crm-print-jwt
kkfile.cacheEnabled=true
kkfile.cache.type=default
server.servlet.context-path= /crm-print
# 开启增强配置
knife4j.enable=true
log.path=/appdata/logs/crm-web

View File

@ -1,10 +0,0 @@
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl=https://www.rzdata.net/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ6UThLa0k5SEl0bkx0V2FXWW1mbjlLeTJ3OWxIZVhlMiJ9.LeOfenI2PMtXVL1W2sdwuw-YggAvXzV3Ne6RBwTef9k
kkfile.localfileUrl=https://www.rzdata.net/crm-print-jwt
kkfile.cacheEnabled=true
kkfile.cache.type=default
server.servlet.context-path= /crm-print
# 开启增强配置
knife4j.enable=true
log.path=/appdata/logs/crm-web

View File

@ -1,15 +0,0 @@
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl = https://crm.vazyme.com/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJCQ0FuMkNIRGtvU0RKdjdJcDBrMFdqVkhVUm85NElTRiJ9.zzJtS7TYaaLy-VIANMU96SOw2r9driz-0Qxy-To9ko8
kkfile.localfileUrl=https://crm.vazyme.com/crm-print-jwt
kkfile.cacheEnabled=true
kkfile.cache.type=default
kkfile.fileUploadDisable = false
server.servlet.context-path= /crm-print
knife4j.enable=true
knife4j.production=true
knife4j.basic.enable=true
knife4j.basic.username=crm
knife4j.basic.password=crm@#$%&87811
log.path=/appdata/logs/crm-web

View File

@ -1,11 +0,0 @@
kkfile.fileDir=/appdata/upload/crm-print
kkfile.baseUrl = http://117.78.50.82:9089/crm-print
kkfile.token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJCQ0FuMkNIRGtvU0RKdjdJcDBrMFdqVkhVUm85NElTRiJ9.zzJtS7TYaaLy-VIANMU96SOw2r9driz-0Qxy-To9ko8
kkfile.localfileUrl=http://117.78.50.82:9089/crm-print
kkfile.cacheEnabled=true
kkfile.cache.type=default
kkfile.fileUploadDisable = false
server.servlet.context-path= /crm-print
# 开启增强配置
knife4j.enable=true
log.path=/appdata/logs/crm-web

View File

@ -1,118 +0,0 @@
#######################################不可动态配置需要重启生效#######################################
server.port = 9089
server.servlet.context-path= /crm-print
server.servlet.encoding.charset = utf-8
#文件上传限制
spring.servlet.multipart.max-file-size=500MB
spring.servlet.multipart.max-request-size=500MB
## Freemarker 配置
spring.freemarker.template-loader-path = classpath:/web/
spring.freemarker.cache = false
spring.freemarker.charset = UTF-8
spring.freemarker.check-template-location = true
spring.freemarker.content-type = text/html
spring.freemarker.expose-request-attributes = true
spring.freemarker.expose-session-attributes = true
spring.freemarker.request-context-attribute = request
spring.freemarker.suffix = .ftl
spring.profiles.active=dev
# office-plugin
## office转换服务的进程数默认开启两个进程
kkfile.office.plugin.server.ports = 2001,2002
## office 转换服务 task 超时时间默认五分钟
kkfile.office.plugin.task.timeout = 5m
#缓存实现类型不配默认为内嵌RocksDB(type = default)实现可配置为redis(type = redis)实现需要配置spring.redisson.address等参数 JDK 内置对象实现type = jdk,
kkfile.cache.type = jdk
#缓存是否自动清理 true 为开启注释掉或其他值都为关闭
kkfile.cache.clean.enabled = true
#缓存自动清理时间cache.clean.enabled = true时才有用cron表达式基于Quartz cron
kkfile.cache.clean.cron = 0 0 3 * * ?
#redis连接只有当cache.type = redis时才有用
spring.redisson.address = 127.0.0.1:6379
spring.redisson.password =
#文件资源路径默认为打包根路径下的file目录下
#file.dir = D:\\kkFileview\\
kkfile.fileDir = /data/file
#openoffice home路径
#office.home = C:\\Program Files (x86)\\OpenOffice 4
kkfile.officeHome = default
#######################################可在运行时动态配置#######################################
#提供预览服务的地址默认从请求url读如果使用nginx等反向代理需要手动设置
#base.url = https://file.keking.cn
kkfile.baseUrl = default
#信任站点多个用','隔开设置了之后会限制只能预览来自信任站点列表的文件默认不限制
#trust.host = file.keking.cn,kkfileview.keking.cn
kkfile.trust.host = default
#是否启用缓存
kkfile.cacheEnabled = true
#文本类型默认如下可自定义添加
kkfile.simText = txt,html,htm,asp,jsp,xml,json,properties,md,gitignore,log,java,py,c,cpp,sql,sh,bat,m,bas,prg,cmd
#多媒体类型默认如下可自定义添加
kkfile.media = mp3,wav,mp4,flv
#是否开启多媒体类型转视频格式转换,目前可转换视频格式有avi,mov,wmv,3gp,rm
#请谨慎开启此功能建议异步调用添加到处理队列并且增加任务队列处理线程防止视频转换占用完线程资源转换比较耗费时间,并且控制了只能串行处理转换任务
kkfile.mediaConvertDisable = false
#支持转换的视频类型
kkfile.convertMedias = avi,mov,wmv,mkv,3gp,rm
#office类型文档(word ppt)样式默认为图片(image)可配置为pdf预览时也有按钮切换
kkfile.officePreviewType = pdf
#是否关闭office预览切换开关默认为false可配置为true关闭
kkfile.officePreviewSwitchDisabled= true
#是否禁止下载转换生成的pdf文件
kkfile.pdfDownloadDisable = true
#是否禁用首页文件上传
kkfile.fileUploadDisable = false
#预览源为FTP时 FTP用户名可在ftp url后面加参数ftp.username=ftpuser指定不指定默认用配置的
kkfile.ftpUsername = ftpuser
#预览源为FTP时 FTP密码可在ftp url后面加参数ftp.password=123456指定不指定默认用配置的
kkfile.ftpPassword= 1234561
#预览源为FTP时, FTP连接默认ControlEncoding(根据FTP服务器操作系统选择Linux一般为UTF-8Windows一般为GBK)可在ftp url后面加参数ftp.control.encoding=UTF-8指定不指定默认用配置的
kkfile.ftpControlEncoding = UTF-8
#水印内容
#watermark.txt = ${WATERMARK_TXT:凯京科技内部文件严禁外泄}
#如需取消水印内容设置为空即可watermark.txt = ${WATERMARK_TXT:}
kkfile.watermarkTxt =
#水印x轴间隔
kkfile.watermarkXSpace = 10
#水印y轴间隔
kkfile.watermarkYSpace = 10
#水印字体
kkfile.watermarkFont = 微软雅黑
#水印字体大小
kkfile.watermarkFontsize = 18px
#水印字体颜色
kkfile.watermarkColor = black
#水印透明度要求设置在大于等于0.005小于1
kkfile.watermarkAlpha = 0.2
#水印宽度
kkfile.watermarkWidth = 180
#水印高度
kkfile.watermarkHeight = 80
#水印倾斜度数要求设置在大于等于0小于90
kkfile.watermarkAngle = 10
kkfile.previewUrl=http://127.0.0.1:9089/onlinePreview?url=%s
# health 健康检查
#management.endpoints.enabled-by-default=true
#management.endpoints.web.base-path=/actuator
#management.endpoints.web.exposure.include=health
#management.endpoint.health.how-details=always

Some files were not shown because too many files have changed in this diff Show More