872263c8 陈志杭(后端)

初始化

1 个父辈 edf1afdd
正在显示 1000 个修改的文件 包含 0 行增加480 行删除

要显示的修改太多。

为保证性能只显示 1000 of 1000+ 个文件。

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<!-- <description>定时任务调度配置</description> -->
<bean id="jobInvokeBean" class="com.sibu.orderHelper.integralWeb.quart.ScheduleTask"></bean>
<bean id="generateRoomStock"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="jobInvokeBean"/>
<property name="targetMethod" value="generateRoomStock"/>
<property name="concurrent" value="false"/>
</bean>
<bean id="generateRoomStockCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="generateRoomStock"/>
<property name="cronExpression" value="0 0/30 9-10 * * ?"/>
</bean>
<!-- 定时发送入住前通知短信 -->
<bean id="sendCheckinNoticeMessage"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="jobInvokeBean"/>
<property name="targetMethod" value="sendCheckinHotelNoticeMessage"/>
<property name="concurrent" value="false"/>
</bean>
<bean id="sendCheckinNoticeMessageCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="sendCheckinNoticeMessage"/>
<property name="cronExpression" value="0 0 8 * * ?"/>
</bean>
<!-- 退款订单(仅退款,退全款),不同意退款状态超过3天时间, 自动关闭退单,并恢复订单原来流程状态 -->
<bean id="autoCloseRefundMoneyOrderTypeAndDisagreeRefundMoneyStatusOrderTaskCronTrigger"
class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="autoCloseRefundMoneyOrderTypeAndDisagreeRefundMoneyStatusOrderTaskImpl"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false"/>
</bean>
</property>
<property name="cronExpression" value="0 0/15 * * * ? *"/>
</bean>
<!-- 退款退货订单,不同意退款状态,超过7天时间,自动关闭退单,并恢复订单原来流程状态 -->
<bean id="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundMoneyStatusOrderTaskCronTrigger"
class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundMoneyStatusOrderTaskImpl"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false"/>
</bean>
</property>
<property name="cronExpression" value="0 0/15 * * * ? *"/>
</bean>
<!-- 退款退货订单,不同意退货状态,超过7天时间,自动关闭退单,并恢复订单原来流程状态 -->
<bean id="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundGoodsStatusOrderTaskCronTrigger"
class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail">
<bean class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundGoodsStatusOrderTaskImpl"/>
<property name="targetMethod" value="execute"/>
<property name="concurrent" value="false"/>
</bean>
</property>
<property name="cronExpression" value="0 0/15 * * * ? *"/>
</bean>
<!-- 定时更新订单结算时间 -->
<bean id="settlementAmount"
class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
<property name="targetObject" ref="jobInvokeBean"/>
<property name="targetMethod" value="settlementAmount" />
<property name="concurrent" value="false" />
</bean>
<bean id="settlementAmountCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerFactoryBean">
<property name="jobDetail" ref="settlementAmount" />
<property name="cronExpression" value="0 0 0 20 * ?" />
</bean>
<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
<property name="triggers">
<list>
<ref bean="generateRoomStockCronTrigger"/>
<ref bean="sendCheckinNoticeMessageCronTrigger"/>
<ref bean="settlementAmountCronTrigger" />
<!--<ref bean="autoCloseRefundMoneyOrderTypeAndDisagreeRefundMoneyStatusOrderTaskCronTrigger"/>-->
<!--<ref bean="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundMoneyStatusOrderTaskCronTrigger"/>-->
<!--<ref bean="autoCloseRefundMoneyAndGoodsOrderTypeAndDisagreeRefundGoodsStatusOrderTaskCronTrigger"/>-->
</list>
</property>
</bean>
</beans>
\ No newline at end of file
<?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-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd"
>
<!-- sms start -->
<bean id="taobaoClient" class="com.taobao.api.DefaultTaobaoClient">
<constructor-arg value="${sms.serverUrl}"></constructor-arg>
<constructor-arg value="${sms.appKey}"></constructor-arg>
<constructor-arg value="${sms.appSecret}"></constructor-arg>
<constructor-arg value="${sms.format}"></constructor-arg>
<constructor-arg value="${sms.connectTimeout}"></constructor-arg>
<constructor-arg value="${sms.readTimeout}"></constructor-arg>
</bean>
<bean class="com.sibu.orderHelper.common.util.SmsUtil">
<property name="taobaoClient" ref="taobaoClient"/>
<property name="enable" value="${sms.enable}"/>
</bean>
<!-- sms end -->
</beans>
\ No newline at end of file
<?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:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
>
<context:property-placeholder
location="classpath:META-INF/conf/jdbc.properties,classpath:META-INF/conf/mq.properties,classpath:META-INF/conf/sms.properties" ignore-unresolvable="true"/>
<bean id="redisResources"
class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/conf/connect-redis.properties" />
</bean>
<!-- <bean id="fastDbResource"
class="com.sibu.common.util.ResouceUtils">
<property name="fastDbResource" value="classpath:test_fdfs_client.conf" />
</bean> -->
<!-- 参数值路径 -->
<bean id="valuesProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/conf/values.properties"/>
</bean>
<!-- 卡夫卡 -->
<!-- 消费
<bean id="kafkaConsumerProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/test_conf/test_kafka-consumer.properties"/>
</bean>-->
<!-- 生产
<bean id="kafkaProducerProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/test_conf/test_kafka-producer.properties"/>
</bean> -->
</beans>
#redis连接
address1=120.76.137.184:6379
address2=120.76.137.184:6380
address3=120.24.234.38:6379
address4=120.24.234.38:6380
address5=120.24.65.223:6379
address6=120.24.65.223:6380
maxRedirections=6
\ No newline at end of file
connect_timeout = 3
network_timeout =50
charset = UTF-8
http.tracker_http_port = 80
http.anti_steal_token = no
http.secret_key = FastDFS1234567890
tracker_server = 120.76.137.184:22122
tracker_server = 120.24.234.38:22122
tracker_server = 120.24.65.223:22122
#数据库驱动
jdbc.driverClassName=com.mysql.jdbc.Driver
sqlserverjdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver
#数据库url
jdbc.url=jdbc:mysql://120.76.137.184/sibu_wesale_base?useUnicode=true&characterEncoding=utf8
jdbc.imtegralurl=jdbc:mysql://120.76.137.184/sibu_integralmall_base?useUnicode=true&characterEncoding=utf8
sqlserverjdbc.url=jdbc\:jtds\:sqlserver\://120.25.75.53\:1433;databaseName\=sibu_wesale_base_read_03
#数据库用户名
jdbc.username=root
sqlserverjdbc.username=sa
jdbc.imtegralusername=root
#数据库密码
jdbc.password=Aa123456
sqlserverjdbc.password=SiBu@SAPtong_855
jdbc.imtegralpassword=Aa123456
######## 主库数据源配置 start ###########
#配置初始化大小、最小、最大
jdbc.initialSize=5
jdbc.minIdle=5
jdbc.maxActive=20
#配置获取连接等待超时的时间 毫秒
jdbc.maxWait=60000
#配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
jdbc.timeBetweenEvictionRunsMillis=60000
#配置一个连接在池中最小生存的时间,单位是毫秒
jdbc.minEvictableIdleTimeMillis=300000
#连接池为了防止程序从池里取得连接后忘记归还的情况,
#而提供了一些参数来设置一个租期,
#使用这个可以在一定程度上防止连接泄漏
jdbc.removeAbandoned=true
#单位是秒
jdbc.removeAbandonedTimeout=1800
jdbc.validationQuery=SELECT 'x' FROM DUAL
jdbc.testWhileIdle=true
jdbc.testOnBorrow=false
jdbc.testOnReturn=false
#是否自动提交事务
jdbc.defaultAutoCommit=false
#打开PSCache(除了Oracle外,建议其他都设置为false)
#并且指定每个连接上PSCache的大小
jdbc.poolPreparedStatements=false
jdbc.maxPoolPreparedStatementPerConnectionSize=20
#配置监控统计拦截的filters
#jdbc.filters=stat,wall,slf4j
jdbc.filters=
#延迟初始化数据源
jdbc.lazyInit=true
######## 主库数据源配置 end ###########
\ No newline at end of file
zookeeper.connect=120.76.65.235:2181,120.76.76.90:2181,120.76.43.202:2181
auto.commit.enable=true
zookeeper.session.timeout.ms=30000
zookeeper.connection.timeout.ms=30000
rebalance.backoff.ms=4000
rebalance.max.retries=10
zookeeper.sync.time.ms=2000
serializer.class=kafka.serializer.StringEncoder
group.id=1
\ No newline at end of file
#\u6d4b\u8bd5\u73af\u5883
metadata.broker.list=120.76.65.235:9092,120.76.76.90:9092,120.76.43.202:9092
#metadata.broker.list=10.47.32.86:9092,10.47.36.217:9092,10.47.32.65:9092,10.47.40.205:9092,10.47.37.105:9092,10.47.40.17:9092,10.47.33.69:9092
##\u6d88\u606f\u538b\u7f29\u7b97\u6cd5,none,gzip,snappy
compression.codec=none
request.required.acks=1
serializer.class=com.sibu.directSale.kafka.BeanSerializer
partitioner.class=com.sibu.directSale.kafka.MessagePartitioner
key.serializer.class=kafka.serializer.StringEncoder
# \u540c\u6b65\u8fd8\u662f\u5f02\u6b65\u53d1\u9001\u6d88\u606f\uff0c\u9ed8\u8ba4\u201csync\u201d\u8868\u540c\u6b65\uff0c"async"\u8868\u5f02\u6b65\u3002\u5f02\u6b65\u53ef\u4ee5\u63d0\u9ad8\u53d1\u9001\u541e\u5410\u91cf,
# \u4e5f\u610f\u5473\u7740\u6d88\u606f\u5c06\u4f1a\u5728\u672c\u5730buffer\u4e2d,\u5e76\u9002\u65f6\u6279\u91cf\u53d1\u9001\uff0c\u4f46\u662f\u4e5f\u53ef\u80fd\u5bfc\u81f4\u4e22\u5931\u672a\u53d1\u9001\u8fc7\u53bb\u7684\u6d88\u606f
producer.type=async
############## \u5f02\u6b65\u53d1\u9001 (\u4ee5\u4e0b\u56db\u4e2a\u5f02\u6b65\u53c2\u6570\u53ef\u9009) ####################
# \u5728async\u6a21\u5f0f\u4e0b,\u5f53message\u88ab\u7f13\u5b58\u7684\u65f6\u95f4\u8d85\u8fc7\u6b64\u503c\u540e,\u5c06\u4f1a\u6279\u91cf\u53d1\u9001\u7ed9broker,\u9ed8\u8ba4\u4e3a5000ms
# \u6b64\u503c\u548cbatch.num.messages\u534f\u540c\u5de5\u4f5c.
queue.buffering.max.ms = 5000
# \u5728async\u6a21\u5f0f\u4e0b,producer\u7aef\u5141\u8bb8buffer\u7684\u6700\u5927\u6d88\u606f\u91cf
# \u65e0\u8bba\u5982\u4f55,producer\u90fd\u65e0\u6cd5\u5c3d\u5feb\u7684\u5c06\u6d88\u606f\u53d1\u9001\u7ed9broker,\u4ece\u800c\u5bfc\u81f4\u6d88\u606f\u5728producer\u7aef\u5927\u91cf\u6c89\u79ef
# \u6b64\u65f6,\u5982\u679c\u6d88\u606f\u7684\u6761\u6570\u8fbe\u5230\u9600\u503c,\u5c06\u4f1a\u5bfc\u81f4producer\u7aef\u963b\u585e\u6216\u8005\u6d88\u606f\u88ab\u629b\u5f03\uff0c\u9ed8\u8ba4\u4e3a10000
queue.buffering.max.messages=10000
# \u5982\u679c\u662f\u5f02\u6b65\uff0c\u6307\u5b9a\u6bcf\u6b21\u6279\u91cf\u53d1\u9001\u6570\u636e\u91cf\uff0c\u9ed8\u8ba4\u4e3a200
batch.num.messages=200
# \u5f53\u6d88\u606f\u5728producer\u7aef\u6c89\u79ef\u7684\u6761\u6570\u8fbe\u5230"queue.buffering.max.meesages"\u540e
# \u963b\u585e\u4e00\u5b9a\u65f6\u95f4\u540e,\u961f\u5217\u4ecd\u7136\u6ca1\u6709enqueue(producer\u4ecd\u7136\u6ca1\u6709\u53d1\u9001\u51fa\u4efb\u4f55\u6d88\u606f)
# \u6b64\u65f6producer\u53ef\u4ee5\u7ee7\u7eed\u963b\u585e\u6216\u8005\u5c06\u6d88\u606f\u629b\u5f03,\u6b64timeout\u503c\u7528\u4e8e\u63a7\u5236"\u963b\u585e"\u7684\u65f6\u95f4
# -1: \u65e0\u963b\u585e\u8d85\u65f6\u9650\u5236,\u6d88\u606f\u4e0d\u4f1a\u88ab\u629b\u5f03
# 0:\u7acb\u5373\u6e05\u7a7a\u961f\u5217,\u6d88\u606f\u88ab\u629b\u5f03
queue.enqueue.timeout.ms=-1
##\u5f53producer\u63a5\u6536\u5230error ACK,\u6216\u8005\u6ca1\u6709\u63a5\u6536\u5230ACK\u65f6,\u5141\u8bb8\u6d88\u606f\u91cd\u53d1\u7684\u6b21\u6570
##\u56e0\u4e3abroker\u5e76\u6ca1\u6709\u5b8c\u6574\u7684\u673a\u5236\u6765\u907f\u514d\u6d88\u606f\u91cd\u590d,\u6240\u4ee5\u5f53\u7f51\u7edc\u5f02\u5e38\u65f6(\u6bd4\u5982ACK\u4e22\u5931)
##\u6709\u53ef\u80fd\u5bfc\u81f4broker\u63a5\u6536\u5230\u91cd\u590d\u7684\u6d88\u606f.
message.send.max.retries=3
\ No newline at end of file
###################### mq config start ######################
#生产者ID
ProducerId=PID_VB_MQ_TEST
AccessKey=LTAIFMy3FkJe6TRC
SecretKey=MnJhwEQORSisWSxLh5xrkYm3tu5LUU
#生产者发送消息超时时间,单位毫秒
SendMsgTimeoutMillis=4000
#地址服务器
#公有云公测环境:http://onsaddr-internet.aliyun.com/rocketmq/nsaddr4client-internet
ONSAddr=http://onsaddr-internet.aliyun.com/rocketmq/nsaddr4client-internet
###################### mq config end ######################
mq.topicEnv=com.doubo.ali.mq.topic.env.TopicEnv.TEST
#mq log ־
mq.logRoot=/var/tomcat/sibu_vb_mq_product/mq_ons_log
mq.logLevel=INFO
mq.logMaxIndex=100
\ No newline at end of file
# Redis settings
#测试服务器
redis.host=120.25.63.159
redis.port=6381
redis.password=test
#本地服务器
#redis.host=172.16.131.253
#redis.port=6379
#redis.password=SapTongRedis
#最大空闲数
redis.maxIdle=50
# 最大连接数
redis.maxActive=1000
#客户端超时时间单位是毫秒
redis.maxWait=1000
#链接超时
redis.timeout=1500
#数据库连接数
redis.database=0
redis.usePool=true
#
redis.testOnBorrow=true
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd ">
<!-- 初始化MQ主题环镜 (必须放在生产者和消费者前面)-->
<bean id="topicEnvBean" class="com.doubo.ali.mq.topic.env.TopicEnvBean">
<property name="topicEnv">
<bean class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean">
<property name="staticField" value="${mq.topicEnv}" />
</bean>
</property>
</bean>
<!-- mq 日志配置 -->
<bean class="com.doubo.ali.mq.config.RocketMqLoggerConfigBean">
<property name="logRoot" value="${mq.logRoot}"/>
<property name="logLevel" value="${mq.logLevel}"/>
<property name="logMaxIndex" value="${mq.logMaxIndex}"/>
</bean>
<!-- 生产者 -->
<bean id="producer" class="com.doubo.ali.mq.producer.RocketMqProducerBean" init-method="start" destroy-method="shutdown">
<property name="properties">
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
<property name="location" value="classpath:META-INF/conf/mq-producer.properties"/>
</bean>
</property>
</bean>
</beans>
\ No newline at end of file
###################### taobao sms start ######################
sms.serverUrl=http://gw.api.taobao.com/router/rest
sms.appKey=24659744
sms.appSecret=a7f764df49d8243fae0fe55b11c5a321
sms.format=json
sms.connectTimeout=10000
sms.readTimeout=15000
sms.enable=true
###################### taobao sms end ######################
\ No newline at end of file
<?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"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
<!-- 基本属性 url、user、password -->
<property name="url" value="${jdbc.imtegralurl}"/>
<property name="username" value="${jdbc.imtegralusername}"/>
<property name="password" value="${jdbc.imtegralpassword}"/>
<property name="driverClassName" value="${jdbc.driverClassName}"/>
<!-- 配置初始化大小、最小、最大 -->
<property name="initialSize" value="${jdbc.initialSize}"/>
<property name="minIdle" value="${jdbc.minIdle}"/>
<property name="maxActive" value="${jdbc.maxActive}"/>
<!-- 配置获取连接等待超时的时间 毫秒-->
<property name="maxWait" value="${jdbc.maxWait}"/>
<!-- 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 -->
<property name="timeBetweenEvictionRunsMillis" value="${jdbc.timeBetweenEvictionRunsMillis}"/>
<!-- 配置一个连接在池中最小生存的时间,单位是毫秒 -->
<property name="minEvictableIdleTimeMillis" value="${jdbc.minEvictableIdleTimeMillis}"/>
<!-- 连接池为了防止程序从池里取得连接后忘记归还的情况, 而提供了一些参数来设置一个租期, 使用这个可以在一定程度上防止连接泄漏 -->
<property name="removeAbandoned" value="${jdbc.removeAbandoned}" />
<property name="removeAbandonedTimeout" value="${jdbc.removeAbandonedTimeout}" /><!-- 单位是秒 -->
<property name="validationQuery" value="SELECT 'x' FROM DUAL"/>
<property name="testWhileIdle" value="${jdbc.testWhileIdle}"/>
<property name="testOnBorrow" value="${jdbc.testOnBorrow}"/>
<property name="testOnReturn" value="${jdbc.testOnReturn}"/>
<!-- 是否自动提交事务 -->
<property name="defaultAutoCommit" value="${jdbc.defaultAutoCommit}"/>
<!-- 打开PSCache(除了Oracle外,建议其他都设置为false),并且指定每个连接上PSCache的大小 -->
<property name="poolPreparedStatements" value="${jdbc.poolPreparedStatements}"/>
<property name="maxPoolPreparedStatementPerConnectionSize" value="${jdbc.maxPoolPreparedStatementPerConnectionSize}"/>
<!-- 配置监控统计拦截的filters-->
<property name="filters" value="${jdbc.filters}"/>
</bean>
<!-- 动态数据源 -->
<bean id="dynamicDataSource" class="com.sibu.orderHelper.service.database.DynamicDataSource">
<property name="targetDataSources">
<map>
</map>
<!-- 这里用配置设置多个数据源 <map key-type="java.lang.String"> <entry key="ORCL"
value-ref="orclDataSource"></entry> <entry key="ISC" value-ref="iscDataSource"></entry>
</map> -->
</property>
<property name="defaultTargetDataSource" ref="dataSource" />
</bean>
</beans>
<?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"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">
<bean name="genericObjectPoolConfig" class="org.apache.commons.pool2.impl.GenericObjectPoolConfig" >
<property name="maxWaitMillis" value="-1" />
<property name="maxTotal" value="1000" />
<property name="minIdle" value="8" />
<property name="maxIdle" value="100" />
</bean>
<!-- 测试环境属性文件位置 -->
<bean id="jedisClusterFactorys" class="com.sibu.orderHelper.common.redis.JedisClusterFactory">
<property name="prop" ref="redisResources"></property>
<property name="addressKeyPrefix" value="address" /> <!-- 属性文件里 key的前缀 -->
<property name="timeout" value="300000" />
<property name="maxRedirections" value="6" />
<property name="genericObjectPoolConfig" ref="genericObjectPoolConfig" />
</bean>
<!-- redis服务封装 -->
<bean id="redisClusterService" class="com.sibu.orderHelper.common.redis.RedisClusterService" >
<property name="jedisCluster" ref="jedisClusterFactorys"></property>
</bean>
<!-- redis redisson客户端 集群服务配置 -->
<!--<bean id="redissonClient" class="com.sibu.orderHelper.common.redis.redisson.RedissonClientFactory">-->
<!--<property name="addressKeyPrefix" value="address"/>-->
<!--<property name="prop" ref="redisResources"></property>-->
<!--</bean>-->
</beans>
\ No newline at end of file
image_path=http://uatimg.sibumbg.com:4480/
wechat_pay_notify=http://testxws.sibumbg.com/api
sibuxws_api_url=https://napi.sibumbg.cn/
sibuxws_app_id=wxfc9f84a6f70bf090
pay_success_template_id=z4VsJZPbCyHCZ567G5QzJOf6Pe2wn2n3Z3Vcg2e5-i0
exchange_success_template_id=wKjIpNegRwzxvDJCZAI-kmBxVnhZzCkpRm_Y6QFHU28
order_ship_notice_template_id=HH9rJDKgyDIlRmqPgVnzmOKm6gpQmIADjGlcaYEg_Mo
wechat_appid=wx2fbf657f999eb837
wechat_appSecret=7355abff3d9b164b40f76ab012803c39
wechat_mchid=1233725502
enable_test_model=true
erp_app_serect=3D1F5F26-1046-4335-A637-EF42DD33277B
erp_app_id=6E90EE33-84BA-42DC-B9EF-BA35CAD3F22D
erp_base_url=Http://183.6.150.110:9101
ip=120.24.234.38
initRequest=false
certLocalPath=/home/tomcat/apiclient_cert.p12
vb_order_overtime_paying_to_close_seconds=900
vb_order_overtime_receiving_to_received_seconds=900
vb_order_overtime_received_to_finish_seconds=900
vb_refund_overtime_money_type_disagree_for_money_to_close_seconds=900
vb_refund_overtime_return_type_disagree_for_goods_to_close_seconds=900
vb_refund_overtime_return_type_disagree_for_money_to_close_seconds=900
vb_refund_overtime_change_goods_type_disagree_to_close_seconds=900
vb_refund_overtime_change_goods_type_deny_to_close_seconds=900
vb_refund_overtime_wait_for_deliver_info_to_close_seconds=900
uat_wesale_url=http://admin.sibumbg.cn
\ No newline at end of file