123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
- xsi:schemaLocation="
- http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
- http://www.springframework.org/schema/context
- http://www.springframework.org/schema/context/spring-context-4.0.xsd">
- <context:property-placeholder
- location="classpath*:operate/redis.properties,classpath*:operate/system.properties"
- ignore-unresolvable="true" />
- <!-- redis 配置 -->
- <bean id="redisConfig" class="com.lote.wms.common.core.cache.redis.RedisConfig">
- <property name="host">
- <value>${redis.host}</value>
- </property>
- <property name="port">
- <value>${redis.port}</value>
- </property>
- <property name="auth">
- <value>${redis.auth}</value>
- </property>
- <property name="maxTotal">
- <value>${redis.max_total}</value>
- </property>
- <property name="maxIdle">
- <value>${redis.max_idle}</value>
- </property>
- <property name="maxWait">
- <value>${redis.max_wait}</value>
- </property>
- <property name="timeout">
- <value>${redis.timeout}</value>
- </property>
- </bean>
- <!-- 系统配置 -->
- <bean id="systemConfig" class="com.lote.wms.common.config.SystemConfig">
- <property name="sessionIdName">
- <value>${system.sessionIdName}</value>
- </property>
- <property name="runtimeFileDir">
- <value>${system.runtimeFileDir}</value>
- </property>
- <property name="fileServerUrl">
- <value>${system.fileServerUrl}</value>
- </property>
- </bean>
- </beans>
|