支持fileupload分片上传,多线程上传(默认关闭)
This commit is contained in:
@@ -500,7 +500,14 @@ file:
|
|||||||
# application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
# application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,
|
||||||
# application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
# application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
||||||
# application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
|
# application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||||
|
|
||||||
|
# 是否开启分片上传
|
||||||
|
chunked: false
|
||||||
|
# 分片大小,单位字节(10M)
|
||||||
|
chunkSize: 10485760
|
||||||
|
# 最大上传线程数
|
||||||
|
threads: 1
|
||||||
|
|
||||||
# 是否用文件流方式下载(支持断点续传)
|
# 是否用文件流方式下载(支持断点续传)
|
||||||
isFileStreamDown: true
|
isFileStreamDown: true
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ sys.error.returnButton=Previous page
|
|||||||
|
|
||||||
# =========== 文件上传相关 ===========
|
# =========== 文件上传相关 ===========
|
||||||
|
|
||||||
sys.file.uploadFileIsEmpty=This is a new file, please upload file!
|
sys.file.uploadFileIsEmpty=This file is not on the server!
|
||||||
sys.file.uploadValidNotBlank=File md5 and file name cannot be empty!
|
sys.file.uploadValidNotBlank=File md5 and file name cannot be empty!
|
||||||
sys.file.uploadValidImage=Can only upload images ({0})
|
sys.file.uploadValidImage=Can only upload images ({0})
|
||||||
sys.file.uploadValidVideo=Can only upload video ({0})
|
sys.file.uploadValidVideo=Can only upload video ({0})
|
||||||
@@ -70,3 +70,4 @@ sys.file.uploadValidContent=File content format not allowed!
|
|||||||
sys.file.uploadSuccessSeconds=Seconds upload success , time {0}
|
sys.file.uploadSuccessSeconds=Seconds upload success , time {0}
|
||||||
sys.file.uploadSuccess=Upload success {0}
|
sys.file.uploadSuccess=Upload success {0}
|
||||||
sys.file.downloadFileNotExist=File lost or non-existent!
|
sys.file.downloadFileNotExist=File lost or non-existent!
|
||||||
|
sys.file.chunkUploading=Uploading {0}/{1}
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ sys.error.returnButton=返回上一页
|
|||||||
|
|
||||||
# =========== 文件上传相关 ===========
|
# =========== 文件上传相关 ===========
|
||||||
|
|
||||||
sys.file.uploadFileIsEmpty=没有找到上传的文件!
|
sys.file.uploadFileIsEmpty=服务器上没有这个文件!
|
||||||
sys.file.uploadValidNotBlank=文件校验码和文件名不能为空!
|
sys.file.uploadValidNotBlank=文件校验码和文件名不能为空!
|
||||||
sys.file.uploadValidImage=只能上传图片({0})
|
sys.file.uploadValidImage=只能上传图片({0})
|
||||||
sys.file.uploadValidVideo=只能上传视频({0})
|
sys.file.uploadValidVideo=只能上传视频({0})
|
||||||
@@ -71,3 +71,4 @@ sys.file.uploadValidContent=文件内容格式不允许!
|
|||||||
sys.file.uploadSuccessSeconds=秒传成功,用时{0}
|
sys.file.uploadSuccessSeconds=秒传成功,用时{0}
|
||||||
sys.file.uploadSuccess=上传成功,用时{0}
|
sys.file.uploadSuccess=上传成功,用时{0}
|
||||||
sys.file.downloadFileNotExist=文件已丢失或不存在!
|
sys.file.downloadFileNotExist=文件已丢失或不存在!
|
||||||
|
sys.file.chunkUploading=正在上传 {0}/{1}
|
||||||
|
|||||||
@@ -514,6 +514,13 @@ logging:
|
|||||||
## application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
## application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
|
||||||
## application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
|
## application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||||
#
|
#
|
||||||
|
# # 是否开启分片上传
|
||||||
|
# chunked: false
|
||||||
|
# # 分片大小,单位字节(10M)
|
||||||
|
# chunkSize: 10485760
|
||||||
|
# # 最大上传线程数
|
||||||
|
# threads: 1
|
||||||
|
#
|
||||||
# # 是否用文件流方式下载(支持断点续传)
|
# # 是否用文件流方式下载(支持断点续传)
|
||||||
# isFileStreamDown: true
|
# isFileStreamDown: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user