文件上传摘要和样例文件处理

This commit is contained in:
duandongmei
2018-07-09 09:18:44 +08:00
parent 1a28c66dfc
commit 270a8c491d
4 changed files with 42 additions and 30 deletions

View File

@@ -316,6 +316,7 @@ redirect_content_key=content
redirect_response_code_startwith=30
#样例文件上传的uri关键词
sample_upload_url_keyword=/av
digest_upload_url_keyword=/fileTransfer
#样例和摘要文件大小类型设置
sample_file_type=,mp4,flv,ivf,mp2v,
#10M 10485760

View File

@@ -247,6 +247,7 @@
<bean id="multipartResolver"
class="com.nis.interceptor.MultipartFileIntercepter" >
<property name="defaultEncoding" value="utf-8"></property>
<property name="maxUploadSize" value="5242880"></property><!-- 5*1024*1024 -->
</bean>
<bean