增加httpClien公共类

This commit is contained in:
zhangwei
2018-05-21 09:46:49 +08:00
parent 425e76bbc1
commit fb67b37193
26 changed files with 856 additions and 3 deletions

View File

@@ -219,11 +219,14 @@ clusterBStartTime=1503504000725
isCommit=true
############################################################################################################################################
############################################################################################################################################
httpUrl=http://127.0.0.1:8080/gk/service/cfg/v1/
httpUrl=http://10.0.6.30:8080/maatRest/service/cfg/v1/
maatCfg=configSources
fileUploadCfg=fileUploadSources
callbackCfg=commonSources
fileDigestCfg=fileDigestSources
configIdSources=getCompileId
client_connect_timeout=1000
client_read_timeout=1000
#use elasticsearch or not#
isUseES=false

View File

@@ -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>