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,29 @@
<?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="logService"
interface="project.log.LogService" check="false" />
<dubbo:reference id="sysLogService"
interface="project.log.SysLogService" check="false" />
<dubbo:reference id="codeLogService"
interface="project.log.CodeLogService" check="false" />
</beans>

View File

@@ -0,0 +1,32 @@
<?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注册中心暴露服务地址 -->
<dubbo:registry protocol="${dubbo.registry.protocol}"
address="${dubbo.registry.address}" />
<dubbo:protocol port="${dubbo.application.port.root}"
host="127.0.0.1"></dubbo:protocol>
<!-- 声明需要暴露的服务接口 -->
<dubbo:service interface="project.log.LogService"
ref="logService" />
<dubbo:service interface="project.log.SysLogService"
ref="sysLogService" />
<dubbo:service interface="project.log.CodeLogService"
ref="codeLogService" />
</beans>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>
<bean id="moneyLogService" class="project.log.internal.MoneyLogServiceImpl">
<property name="hibernateTemplate" ref="hibernateTemplate" />
<property name="pagedDao" ref="pagedDao" />
</bean>
</beans>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd">
<beans>
<bean id="logService" class="project.log.internal.LogServiceImpl">
<property name="hibernateTemplate" ref="hibernateTemplate" />
<property name="pagedQueryDao" ref="pagedDao" />
</bean>
<bean id="moneyLogService" class="project.log.internal.MoneyLogServiceImpl">
<property name="hibernateTemplate" ref="hibernateTemplate" />
<property name="pagedDao" ref="pagedDao" />
</bean>
<bean id="sysLogService" class="project.log.internal.SysLogServiceImpl">
<property name="hibernateTemplate" ref="hibernateTemplate" />
</bean>
<bean id="saveLogServer" class="project.log.internal.SaveLogServer">
<property name="logService" ref="logService" />
<property name="sysLogService" ref="sysLogService" />
</bean>
<bean id="codeLogService" class="project.log.internal.CodeLogServiceImpl">
<property name="hibernateTemplate" ref="hibernateTemplate" />
<property name="pagedQueryDao" ref="pagedDao" />
</bean>
</beans>

View File

@@ -0,0 +1,23 @@
admin
<action name="adminMoneyLogAction"
class="project.log.action.AdminMoneyLogAction">
<result name="list">/moneylog_list.jsp</result>
</action>
<action name="adminSysLogAction" class="project.log.action.AdminSysLogAction">
<result name="list">/systemlog_list.jsp</result>
</action>
<action name="adminLogAction" class="project.log.action.AdminLogAction">
<result name="list">/log_list.jsp</result>
</action>
<action name="adminCodeLogAction" class="project.log.action.AdminCodeLogAction">
<result name="list">/code_log_list.jsp</result>
</action>
api
<action name="moneylog"
class="project.log.action.MoneyLogAction">
</action>