first commit
This commit is contained in:
16
comm/User/config/spring/applicationContext-hibernate.xml
Executable file
16
comm/User/config/spring/applicationContext-hibernate.xml
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
admin
|
||||
<value>adminKycService</value>
|
||||
<value>userService</value>
|
||||
<value>adminKycHighLevelService</value>
|
||||
<value>adminSystemUserService</value>
|
||||
<!-- user -->
|
||||
|
||||
|
||||
api
|
||||
<!-- user -->
|
||||
<value>paymentMethodService</value>
|
||||
<value>kycService</value>
|
||||
<value>tokenService</value>
|
||||
<value>kycHighLevelService</value>
|
||||
<value>userService</value>
|
||||
61
comm/User/config/spring/applicationContext-user.xml
Executable file
61
comm/User/config/spring/applicationContext-user.xml
Executable file
@@ -0,0 +1,61 @@
|
||||
<?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="paymentMethodService"
|
||||
class="project.user.payment.internal.PaymentMethodServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="kycService"
|
||||
class="project.user.kyc.internal.KycServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
<bean id="kycHighLevelService"
|
||||
class="project.user.kyc.internal.KycHighLevelServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
|
||||
<dubbo:reference id="identifyingCodeService"
|
||||
interface="project.user.idcode.IdentifyingCodeService" check="false" />
|
||||
<dubbo:reference id="identifyingCodeTimeWindow"
|
||||
interface="project.user.idcode.IdentifyingCodeTimeWindow" check="false" />
|
||||
|
||||
|
||||
<bean id="userService"
|
||||
class="project.user.internal.UserServiceImpl">
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="passwordEncoder" ref="passwordEncoder" />
|
||||
<property name="identifyingCodeTimeWindow"
|
||||
ref="identifyingCodeTimeWindow" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="onlineUserService"
|
||||
ref="onlineUserService" />
|
||||
</bean>
|
||||
|
||||
|
||||
<bean id="onlineUserService"
|
||||
class="project.user.internal.OnlineUserService">
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="tokenService"
|
||||
class="project.user.token.internal.TokenServiceImpl" >
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
55
comm/User/config/spring/applicationContext-user_admin.xml
Executable file
55
comm/User/config/spring/applicationContext-user_admin.xml
Executable file
@@ -0,0 +1,55 @@
|
||||
<?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:reference id="identifyingCodeTimeWindow"
|
||||
interface="project.user.idcode.IdentifyingCodeTimeWindow" check="false" />
|
||||
<dubbo:reference id="identifyingCodeTimeWindow"
|
||||
interface="project.user.idcode.IdentifyingCodeTimeWindow" check="false" />
|
||||
|
||||
<bean id="userService"
|
||||
class="project.user.internal.UserServiceImpl">
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="passwordEncoder" ref="passwordEncoder" />
|
||||
<property name="identifyingCodeTimeWindow"
|
||||
ref="identifyingCodeTimeWindow" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<property name="onlineUserTimeWindow"
|
||||
ref="onlineUserTimeWindow" />
|
||||
</bean>
|
||||
|
||||
<bean id="onlineUserTimeWindow"
|
||||
class="project.user.internal.OnlineUserTimeWindow">
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="adminKycService"
|
||||
class=" project.user.kyc.internal.AdminKycServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
</bean>
|
||||
<bean id="adminKycHighLevelService"
|
||||
class=" project.user.kyc.internal.AdminKycHighLevelServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="partyService" ref="partyService" />
|
||||
<property name="userRecomService" ref="userRecomService" />
|
||||
</bean>
|
||||
<bean id="adminSystemUserService"
|
||||
class="project.admin.interal.AdminSystemUserServiceImpl">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="pagedQueryDao" ref="pagedDao" />
|
||||
<property name="secUserService" ref="secUserService" />
|
||||
<!-- <property name="userRecomService" ref="userRecomService" /> -->
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
55
comm/User/config/spring/applicationContext-user_data.xml
Executable file
55
comm/User/config/spring/applicationContext-user_data.xml
Executable file
@@ -0,0 +1,55 @@
|
||||
<?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 ">
|
||||
|
||||
<!-- init-method="init" -->
|
||||
|
||||
<bean id="userLoadCacheService"
|
||||
class="project.data.loadcache.UserLoadCacheService">
|
||||
<property name="hibernateTemplate" ref="hibernateTemplate" />
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
<bean id="identifyingCodeService"
|
||||
class="project.user.idcode.internal.IdentifyingCodeServiceImpl">
|
||||
<property name="smsSendService" ref="smsSendService" />
|
||||
<property name="emailSendService" ref="emailSendService" />
|
||||
<property name="sysparaService" ref="sysparaService" />
|
||||
<property name="identifyingCodeTimeWindow"
|
||||
ref="identifyingCodeTimeWindow" />
|
||||
<property name="blacklistIpTimeWindow"
|
||||
ref="blacklistIpTimeWindow" />
|
||||
<property name="sendCountTimeWindow"
|
||||
ref="sendCountTimeWindow" />
|
||||
</bean>
|
||||
|
||||
<dubbo:service
|
||||
interface="project.user.idcode.IdentifyingCodeService"
|
||||
ref="identifyingCodeService" />
|
||||
|
||||
<bean id="identifyingCodeTimeWindow"
|
||||
class="project.user.idcode.IdentifyingCodeTimeWindow">
|
||||
</bean>
|
||||
<bean id="blacklistIpTimeWindow"
|
||||
class="project.user.idcode.BlacklistIpTimeWindow">
|
||||
</bean>
|
||||
<bean id="sendCountTimeWindow"
|
||||
class="project.user.idcode.SendCountTimeWindow">
|
||||
</bean>
|
||||
|
||||
<dubbo:service
|
||||
interface="project.user.idcode.IdentifyingCodeTimeWindow"
|
||||
ref="identifyingCodeTimeWindow" />
|
||||
|
||||
|
||||
<bean id="onlineUserTimeoutTask"
|
||||
class="project.user.internal.OnlineUserTimeoutTask">
|
||||
<property name="redisHandler" ref="redisHandler" />
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
26
comm/User/config/spring/normal.xml
Executable file
26
comm/User/config/spring/normal.xml
Executable file
@@ -0,0 +1,26 @@
|
||||
|
||||
admin
|
||||
<action name="adminKycAction"
|
||||
class="project.user.kyc.web.AdminKycAction">
|
||||
<result name="list">/kyc_list.jsp</result>
|
||||
</action>
|
||||
<action name="adminKycHighLevelAction"
|
||||
class="project.user.kyc.web.AdminKycHighLevelAction">
|
||||
<result name="list">/kyc_highlevel_list.jsp</result>
|
||||
<result name="detail">/kyc_highlevel_detail.jsp</result>
|
||||
</action>
|
||||
|
||||
api
|
||||
|
||||
<action name="paymentmethod"
|
||||
class="project.user.payment.web.PaymentMethodAction">
|
||||
</action>
|
||||
|
||||
<action name="kyc" class="project.user.kyc.web.KycAction">
|
||||
</action>
|
||||
|
||||
<action name="user" class="project.user.web.UserAction">
|
||||
</action>
|
||||
|
||||
<action name="kychighlevel" class="project.user.kyc.web.KycHighLevelAction">
|
||||
</action>
|
||||
Reference in New Issue
Block a user