remove unused interface and code
|
|
@ -3,3 +3,39 @@
|
||||||
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
||||||
^
|
^
|
||||||
.server/src/main/java/cn/keking/ServerMain.java,1/0/10063ed6b36fc975afe394320e60bd020496e74a
|
.server/src/main/java/cn/keking/ServerMain.java,1/0/10063ed6b36fc975afe394320e60bd020496e74a
|
||||||
|
r
|
||||||
|
Bserver/src/main/java/cn/keking/web/controller/IndexController.java,8/c/8c698ff01765c8df0722a66a5ee3c94f87f0d305
|
||||||
|
z
|
||||||
|
Jserver/src/main/java/cn/keking/web/controller/OnlinePreviewController.java,8/c/8cb3f204b0a35777ed32d91dca9b7278f7cbc72f
|
||||||
|
q
|
||||||
|
Aserver/src/main/java/cn/keking/web/controller/FileController.java,d/d/dd3a96d9383001b992ec0c8c1c5a5043ae713e47
|
||||||
|
j
|
||||||
|
:server/src/main/java/cn/keking/config/ConfigConstants.java,7/3/734d786fd7c875965a158e34ad7fbc1567dfbd09
|
||||||
|
q
|
||||||
|
Aserver/src/main/java/cn/keking/config/ConfigRefreshComponent.java,6/a/6ae133d67bfcdae3077eb09e01e45ae35dff32da
|
||||||
|
b
|
||||||
|
2server/src/main/java/cn/keking/utils/WebUtils.java,7/c/7c03e6ac62f7dbb29263ccf98c621a0bcd185860
|
||||||
|
e
|
||||||
|
5server/src/main/java/cn/keking/utils/CaptchaUtil.java,6/f/6fb5774b222f991640f8fd3a972dc437cb9a39e1
|
||||||
|
b
|
||||||
|
2server/src/main/java/cn/keking/utils/SslUtils.java,d/9/d98d80db9fa39388eb57a3cc69a373ca9f6ff0d6
|
||||||
|
v
|
||||||
|
Fserver/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java,6/7/67ad10a2b599c67b48544ebe4c942a8763807e1d
|
||||||
|
n
|
||||||
|
>server/src/main/java/cn/keking/service/OfficeToPdfService.java,5/1/511823763ead1d1e7a93e80e54f012017bfc2daf
|
||||||
|
g
|
||||||
|
7server/src/main/java/cn/keking/utils/DownloadUtils.java,4/1/416c55f58da19470968085f58b476d04e07427f8
|
||||||
|
m
|
||||||
|
=server/src/main/java/cn/keking/web/filter/TrustDirFilter.java,8/5/855837f650f127a606f852995d9222523d77668d
|
||||||
|
w
|
||||||
|
Gserver/src/main/java/cn/keking/service/impl/SimTextFilePreviewImpl.java,4/8/484def55ba122123206da1f59d1b59d397b412f2
|
||||||
|
s
|
||||||
|
Cserver/src/main/java/cn/keking/service/impl/PdfFilePreviewImpl.java,8/8/881726bae9ccc8ba7c973b70274cc5524f5d3870
|
||||||
|
J
|
||||||
|
server/src/main/file/1.txt,b/f/bf3eb2381743b824c55a1085c7c68452e0b800af
|
||||||
|
r
|
||||||
|
Bserver/src/main/java/cn/keking/web/filter/SecurityFilterProxy.java,f/a/fafbe7be650ffc50d8af470739cdbed525c0961f
|
||||||
|
]
|
||||||
|
-.idea/sonarlint/securityhotspotstore/index.pb,8/8/88a9255124c95bdc913197c120a8d560edc59c8e
|
||||||
|
S
|
||||||
|
#.idea/sonarlint/issuestore/index.pb,9/f/9fe84ebb15faf917b7def6236dba604453cc61e0
|
||||||
|
|
@ -3,3 +3,39 @@
|
||||||
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
README.md,8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d
|
||||||
^
|
^
|
||||||
.server/src/main/java/cn/keking/ServerMain.java,1/0/10063ed6b36fc975afe394320e60bd020496e74a
|
.server/src/main/java/cn/keking/ServerMain.java,1/0/10063ed6b36fc975afe394320e60bd020496e74a
|
||||||
|
r
|
||||||
|
Bserver/src/main/java/cn/keking/web/controller/IndexController.java,8/c/8c698ff01765c8df0722a66a5ee3c94f87f0d305
|
||||||
|
z
|
||||||
|
Jserver/src/main/java/cn/keking/web/controller/OnlinePreviewController.java,8/c/8cb3f204b0a35777ed32d91dca9b7278f7cbc72f
|
||||||
|
q
|
||||||
|
Aserver/src/main/java/cn/keking/web/controller/FileController.java,d/d/dd3a96d9383001b992ec0c8c1c5a5043ae713e47
|
||||||
|
j
|
||||||
|
:server/src/main/java/cn/keking/config/ConfigConstants.java,7/3/734d786fd7c875965a158e34ad7fbc1567dfbd09
|
||||||
|
q
|
||||||
|
Aserver/src/main/java/cn/keking/config/ConfigRefreshComponent.java,6/a/6ae133d67bfcdae3077eb09e01e45ae35dff32da
|
||||||
|
b
|
||||||
|
2server/src/main/java/cn/keking/utils/WebUtils.java,7/c/7c03e6ac62f7dbb29263ccf98c621a0bcd185860
|
||||||
|
e
|
||||||
|
5server/src/main/java/cn/keking/utils/CaptchaUtil.java,6/f/6fb5774b222f991640f8fd3a972dc437cb9a39e1
|
||||||
|
b
|
||||||
|
2server/src/main/java/cn/keking/utils/SslUtils.java,d/9/d98d80db9fa39388eb57a3cc69a373ca9f6ff0d6
|
||||||
|
v
|
||||||
|
Fserver/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java,6/7/67ad10a2b599c67b48544ebe4c942a8763807e1d
|
||||||
|
n
|
||||||
|
>server/src/main/java/cn/keking/service/OfficeToPdfService.java,5/1/511823763ead1d1e7a93e80e54f012017bfc2daf
|
||||||
|
g
|
||||||
|
7server/src/main/java/cn/keking/utils/DownloadUtils.java,4/1/416c55f58da19470968085f58b476d04e07427f8
|
||||||
|
m
|
||||||
|
=server/src/main/java/cn/keking/web/filter/TrustDirFilter.java,8/5/855837f650f127a606f852995d9222523d77668d
|
||||||
|
w
|
||||||
|
Gserver/src/main/java/cn/keking/service/impl/SimTextFilePreviewImpl.java,4/8/484def55ba122123206da1f59d1b59d397b412f2
|
||||||
|
s
|
||||||
|
Cserver/src/main/java/cn/keking/service/impl/PdfFilePreviewImpl.java,8/8/881726bae9ccc8ba7c973b70274cc5524f5d3870
|
||||||
|
J
|
||||||
|
server/src/main/file/1.txt,b/f/bf3eb2381743b824c55a1085c7c68452e0b800af
|
||||||
|
r
|
||||||
|
Bserver/src/main/java/cn/keking/web/filter/SecurityFilterProxy.java,f/a/fafbe7be650ffc50d8af470739cdbed525c0961f
|
||||||
|
]
|
||||||
|
-.idea/sonarlint/securityhotspotstore/index.pb,8/8/88a9255124c95bdc913197c120a8d560edc59c8e
|
||||||
|
S
|
||||||
|
#.idea/sonarlint/issuestore/index.pb,9/f/9fe84ebb15faf917b7def6236dba604453cc61e0
|
||||||
|
|
@ -83,7 +83,8 @@ base.url = ${KK_BASE_URL:default}
|
||||||
trust.host = ${KK_TRUST_HOST:default}
|
trust.host = ${KK_TRUST_HOST:default}
|
||||||
#不信任站点,多个用','隔开,设置了之后,会限制来自不信任站点列表的文件,默认不限制
|
#不信任站点,多个用','隔开,设置了之后,会限制来自不信任站点列表的文件,默认不限制
|
||||||
#not.trust.host = kkview.cn
|
#not.trust.host = kkview.cn
|
||||||
not.trust.host= ${KK_NOT_TRUST_HOST:default}
|
#192.168.0.2,127.0.0.1
|
||||||
|
not.trust.host= ${KK_NOT_TRUST_HOST:}
|
||||||
#文本类型,默认如下,可自定义添加
|
#文本类型,默认如下,可自定义添加
|
||||||
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}
|
||||||
|
|
||||||
|
|
@ -123,7 +124,8 @@ 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类型文档(word ppt)样式,默认为图片(image),可配置为pdf(预览时也有按钮切换)
|
||||||
office.preview.type = ${KK_OFFICE_PREVIEW_TYPE:image}
|
#image or pdf
|
||||||
|
office.preview.type = ${KK_OFFICE_PREVIEW_TYPE:pdf}
|
||||||
#是否关闭office预览切换开关,默认为false,可配置为true关闭
|
#是否关闭office预览切换开关,默认为false,可配置为true关闭
|
||||||
office.preview.switch.disabled = ${KK_OFFICE_PREVIEW_SWITCH_DISABLED:false}
|
office.preview.switch.disabled = ${KK_OFFICE_PREVIEW_SWITCH_DISABLED:false}
|
||||||
|
|
||||||
|
|
@ -160,9 +162,9 @@ beian = ${KK_BEIAN:default}
|
||||||
#禁止上传类型
|
#禁止上传类型
|
||||||
prohibit = ${KK_PROHIBIT:exe,dll,dat}
|
prohibit = ${KK_PROHIBIT:exe,dll,dat}
|
||||||
#启用验证码删除文件 默认关闭
|
#启用验证码删除文件 默认关闭
|
||||||
delete.captcha= ${KK_DELETE_CAPTCHA:false}
|
delete.captcha= ${KK_DELETE_CAPTCHA:true}
|
||||||
#删除密码
|
#删除密码
|
||||||
delete.password = ${KK_DELETE_PASSWORD:123456}
|
#delete.password = ${KK_DELETE_PASSWORD:123456}
|
||||||
#删除 转换后OFFICE、CAD、TIFF、压缩包源文件 默认开启 节约磁盘空间
|
#删除 转换后OFFICE、CAD、TIFF、压缩包源文件 默认开启 节约磁盘空间
|
||||||
delete.source.file = ${KK_DELETE_SOURCE_FILE:true}
|
delete.source.file = ${KK_DELETE_SOURCE_FILE:true}
|
||||||
#首页初始化加载第一页
|
#首页初始化加载第一页
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
|
||||||
|
http://127.0.0.1:8012/getCorsFile?urlPath=file:/Users/wangvivi/Desktop/Work/新技术部/组件 开发/OCR发票识别组件研发需求设计说明书.docx
|
||||||
|
|
||||||
|
error = {
|
||||||
|
"code": '200',
|
||||||
|
"msg": error_codes['200'],
|
||||||
|
}
|
||||||
|
|
||||||
|
result = {
|
||||||
|
"issuingAuthority": "",
|
||||||
|
"validTime": "",
|
||||||
|
"name": "",
|
||||||
|
"gender": "",
|
||||||
|
"ethnicity": "汉",
|
||||||
|
"dateOfBirth": "",
|
||||||
|
"address": "",
|
||||||
|
"idNumber": "",
|
||||||
|
}
|
||||||
|
|
||||||
|
如何把这两个json 合并成以下一个json
|
||||||
|
{ "code": '200',
|
||||||
|
"msg": error_codes['200'],
|
||||||
|
data:{
|
||||||
|
"issuingAuthority": "",
|
||||||
|
"validTime": "",
|
||||||
|
"name": "",
|
||||||
|
"gender": "",
|
||||||
|
"ethnicity": "汉",
|
||||||
|
"dateOfBirth": "",
|
||||||
|
"address": "",
|
||||||
|
"idNumber": "",
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 554 KiB |
|
Before Width: | Height: | Size: 607 KiB |
|
Before Width: | Height: | Size: 578 KiB |
|
Before Width: | Height: | Size: 535 KiB |
|
Before Width: | Height: | Size: 697 KiB |
|
Before Width: | Height: | Size: 493 KiB |
|
Before Width: | Height: | Size: 568 KiB |
|
Before Width: | Height: | Size: 542 KiB |
|
Before Width: | Height: | Size: 626 KiB |
|
Before Width: | Height: | Size: 618 KiB |
|
Before Width: | Height: | Size: 668 KiB |
|
Before Width: | Height: | Size: 529 KiB |
|
Before Width: | Height: | Size: 645 KiB |
|
Before Width: | Height: | Size: 502 KiB |
|
Before Width: | Height: | Size: 558 KiB |
|
Before Width: | Height: | Size: 444 KiB |
|
Before Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 583 KiB |
|
Before Width: | Height: | Size: 477 KiB |
|
Before Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 456 KiB |
|
Before Width: | Height: | Size: 522 KiB |
|
Before Width: | Height: | Size: 587 KiB |
|
Before Width: | Height: | Size: 646 KiB |
|
Before Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 458 KiB |
|
Before Width: | Height: | Size: 654 KiB |
|
Before Width: | Height: | Size: 791 KiB |
|
Before Width: | Height: | Size: 678 KiB |
|
Before Width: | Height: | Size: 545 KiB |
|
Before Width: | Height: | Size: 615 KiB |
|
Before Width: | Height: | Size: 673 KiB |
|
Before Width: | Height: | Size: 524 KiB |
|
Before Width: | Height: | Size: 653 KiB |
|
Before Width: | Height: | Size: 846 KiB |
|
Before Width: | Height: | Size: 282 KiB |
|
Before Width: | Height: | Size: 722 KiB |
|
Before Width: | Height: | Size: 529 KiB |
|
Before Width: | Height: | Size: 650 KiB |
|
Before Width: | Height: | Size: 740 KiB |
|
Before Width: | Height: | Size: 572 KiB |
|
Before Width: | Height: | Size: 651 KiB |
|
Before Width: | Height: | Size: 584 KiB |
|
Before Width: | Height: | Size: 523 KiB |
|
Before Width: | Height: | Size: 657 KiB |
|
Before Width: | Height: | Size: 292 KiB |
|
Before Width: | Height: | Size: 599 KiB |
|
Before Width: | Height: | Size: 622 KiB |
|
Before Width: | Height: | Size: 378 KiB |
|
Before Width: | Height: | Size: 328 KiB |
|
Before Width: | Height: | Size: 401 KiB |
|
Before Width: | Height: | Size: 537 KiB |
|
Before Width: | Height: | Size: 431 KiB |
|
Before Width: | Height: | Size: 468 KiB |
|
Before Width: | Height: | Size: 581 KiB |
|
Before Width: | Height: | Size: 644 KiB |
|
Before Width: | Height: | Size: 522 KiB |
|
Before Width: | Height: | Size: 486 KiB |
|
Before Width: | Height: | Size: 414 KiB |
|
Before Width: | Height: | Size: 672 KiB |
|
Before Width: | Height: | Size: 596 KiB |
|
Before Width: | Height: | Size: 613 KiB |
|
Before Width: | Height: | Size: 489 KiB |
|
Before Width: | Height: | Size: 622 KiB |
|
Before Width: | Height: | Size: 449 KiB |
|
Before Width: | Height: | Size: 506 KiB |
|
Before Width: | Height: | Size: 608 KiB |
|
Before Width: | Height: | Size: 561 KiB |
|
Before Width: | Height: | Size: 643 KiB |
|
Before Width: | Height: | Size: 528 KiB |
|
Before Width: | Height: | Size: 721 KiB |
|
Before Width: | Height: | Size: 592 KiB |
|
Before Width: | Height: | Size: 482 KiB |
|
Before Width: | Height: | Size: 576 KiB |
|
Before Width: | Height: | Size: 633 KiB |
|
Before Width: | Height: | Size: 605 KiB |
|
Before Width: | Height: | Size: 558 KiB |
|
Before Width: | Height: | Size: 287 KiB |
|
Before Width: | Height: | Size: 458 KiB |
|
Before Width: | Height: | Size: 374 KiB |
|
Before Width: | Height: | Size: 447 KiB |
|
Before Width: | Height: | Size: 507 KiB |
|
Before Width: | Height: | Size: 412 KiB |
|
Before Width: | Height: | Size: 527 KiB |
|
Before Width: | Height: | Size: 472 KiB |
|
Before Width: | Height: | Size: 664 KiB |
|
Before Width: | Height: | Size: 608 KiB |
|
Before Width: | Height: | Size: 488 KiB |
|
Before Width: | Height: | Size: 113 KiB |