first commit

This commit is contained in:
Ray
2026-02-19 03:37:37 +08:00
commit ccfd8c79a4
2813 changed files with 453657 additions and 0 deletions

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

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

View File

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

View File

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

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