增加httpClien公共类
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
cache-period="31536000" />
|
||||
<mvc:resources mapping="/upload/**" location="/upload/"
|
||||
cache-period="31536000" />
|
||||
<mvc:resources mapping="/sampleFile/**" location="/sampleFile/"
|
||||
cache-period="31536000" />
|
||||
<mvc:resources mapping="/srcFile/**" location="/srcFile/"
|
||||
cache-period="31536000" />
|
||||
<!-- <mvc:resources mapping="/swagger/**" location="/swagger/"
|
||||
cache-period="31536000" /> -->
|
||||
|
||||
@@ -258,7 +262,7 @@
|
||||
<bean id="multipartResolver"
|
||||
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
||||
<property name="defaultEncoding" value="utf-8"></property>
|
||||
<property name="maxUploadSize" value="10485760"></property>
|
||||
<property name="maxUploadSize" value="10737418240"></property>
|
||||
<!--<property name="maxInMemorySize" value="1000"></property> -->
|
||||
</bean>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user