first commit
This commit is contained in:
41
comm/RechargeBlockchain/config/spring/applicationContext-dubbo.xml
Executable file
41
comm/RechargeBlockchain/config/spring/applicationContext-dubbo.xml
Executable file
@@ -0,0 +1,41 @@
|
||||
<?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:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd
|
||||
">
|
||||
<!-- 提供方应用信息,用于计算依赖关系 -->
|
||||
<dubbo:application name="${dubbo.application.name}" />
|
||||
|
||||
<!-- 使用zkp注册中心暴露服务地址 -->
|
||||
<!-- 使用zookeeper注册中心暴露服务地址 -->
|
||||
<dubbo:registry protocol="${dubbo.registry.protocol}"
|
||||
address="${dubbo.registry.address}" />
|
||||
|
||||
<dubbo:protocol host="127.0.0.1" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dubbo:reference id="channelBlockchainService"
|
||||
interface="project.blockchain.ChannelBlockchainService" check="false" />
|
||||
|
||||
<dubbo:reference id="rechargeBlockchainService"
|
||||
interface="project.blockchain.RechargeBlockchainService" check="false" />
|
||||
|
||||
|
||||
|
||||
<dubbo:reference id="qRProducerService"
|
||||
interface="project.blockchain.QRProducerService" check="false" />
|
||||
|
||||
<dubbo:reference id="rechargeBonusService"
|
||||
interface="project.bonus.RechargeBonusService" check="false" />
|
||||
|
||||
|
||||
</beans>
|
||||
15
comm/RechargeBlockchain/config/spring/applicationContext-hibernate.xml
Executable file
15
comm/RechargeBlockchain/config/spring/applicationContext-hibernate.xml
Executable file
@@ -0,0 +1,15 @@
|
||||
|
||||
admin
|
||||
|
||||
<!-- recharge -->
|
||||
<value>adminRechargeBlockchainOrderService</value>
|
||||
<value>adminChannelBlockchainService</value>
|
||||
|
||||
api
|
||||
<!-- recharge -->
|
||||
|
||||
<!-- blockchain -->
|
||||
<value>rechargeBlockchainService</value>
|
||||
<value>channelBlockchainService</value>
|
||||
<value>qRProducerService</value>
|
||||
<value>rechargeBonusService</value>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?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:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
<bean id="rechargeBlockchainService"
|
||||
class="project.blockchain.internal.RechargeBlockchainServiceImpl">
|
||||
<property name="userDataService" ref="userDataService" />
|
||||
<property name="walletService" ref="walletService" />
|
||||
<property name="moneyLogService" ref="moneyLogService" />
|
||||
<property name="exchangeRateService" ref="exchangeRateService" />
|
||||
<property name="walletLogService" ref="walletLogService" />
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="rechargeBonusService" ref="rechargeBonusService" />
|
||||
<property name="logService" ref="logService" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="sysparaService" ref="sysparaService" />
|
||||
<property name="channelBlockchainService" ref="channelBlockchainService" />
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
</bean>
|
||||
|
||||
|
||||
<dubbo:service
|
||||
interface="project.blockchain.RechargeBlockchainService" ref="rechargeBlockchainService" />
|
||||
|
||||
<bean id="channelBlockchainService"
|
||||
class="project.blockchain.internal.ChannelBlockchainServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="logService" ref="logService" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="passwordEncoder" ref="passwordEncoder" />
|
||||
</bean>
|
||||
|
||||
|
||||
<dubbo:service
|
||||
interface="project.blockchain.ChannelBlockchainService"
|
||||
ref="channelBlockchainService" />
|
||||
<bean id="qRProducerService"
|
||||
class="project.blockchain.internal.QRProducerServiceImpl">
|
||||
|
||||
|
||||
</bean>
|
||||
|
||||
<dubbo:service
|
||||
interface="project.blockchain.QRProducerService"
|
||||
ref="qRProducerService" />
|
||||
|
||||
<bean id="rechargeBonusService"
|
||||
class="project.bonus.internal.RechargeBonusServiceImpl">
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="sysparaService" ref="sysparaService" />
|
||||
<property name="walletLogService" ref="walletLogService" />
|
||||
<property name="walletService" ref="walletService" />
|
||||
<property name="moneyLogService" ref="moneyLogService" />
|
||||
<property name="rechargeBlockchainService" ref="rechargeBlockchainService" />
|
||||
<property name="userDataService" ref="userDataService" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
|
||||
</bean>
|
||||
<dubbo:service
|
||||
interface="project.bonus.RechargeBonusService"
|
||||
ref="rechargeBonusService" />
|
||||
|
||||
|
||||
|
||||
</beans>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?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:dubbo="http://code.alibabatech.com/schema/dubbo"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://code.alibabatech.com/schema/dubbo
|
||||
http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
|
||||
|
||||
<bean id="adminRechargeBlockchainOrderService" class="project.rechargeblockchain.internal.AdminRechargeBlockchainOrderServiceImpl">
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
<property name="rechargeBlockchainService" ref="rechargeBlockchainService" />
|
||||
<property name="logService" ref="logService" />
|
||||
<property name="passwordEncoder" ref="passwordEncoder" />
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
</bean>
|
||||
<bean id="adminChannelBlockchainService"
|
||||
class="project.channelblockchain.internal.AdminChannelBlockchainServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
</bean>
|
||||
|
||||
|
||||
</beans>
|
||||
22
comm/RechargeBlockchain/config/spring/normal.xml
Executable file
22
comm/RechargeBlockchain/config/spring/normal.xml
Executable file
@@ -0,0 +1,22 @@
|
||||
admin
|
||||
<action name="adminChannelBlockchainAction"
|
||||
class="project.blockchain.web.AdminChannelBlockchainAction">
|
||||
<result name="list">/channel_blockchain_list.jsp</result>
|
||||
<result name="add">/channel_blockchain_add.jsp</result>
|
||||
<result name="update">/channel_blockchain_update.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="adminRechargeBlockchainOrderAction"
|
||||
class="project.blockchain.web.AdminRechargeBlockchainOrderAction">
|
||||
<result name="list">/recharge_blockchain_list.jsp</result>
|
||||
</action>
|
||||
|
||||
api
|
||||
|
||||
<action name="rechargeblockchain"
|
||||
class="project.blockchain.web.RechargeBlockchainAction">
|
||||
</action>
|
||||
|
||||
<action name="channelBlockchain"
|
||||
class="project.blockchain.web.ChannelBlockchainAction">
|
||||
</action>
|
||||
Reference in New Issue
Block a user