Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
武汉红喜
whatsmars
提交
b8b7c47c
W
whatsmars
项目概览
武汉红喜
/
whatsmars
通知
3
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
W
whatsmars
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b8b7c47c
编写于
12月 18, 2017
作者:
武汉红喜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完善
上级
41e950ea
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
48 addition
and
19 deletion
+48
-19
profile/development.properties
profile/development.properties
+6
-2
profile/production.properties
profile/production.properties
+6
-2
profile/test.properties
profile/test.properties
+1
-1
whatsmars-earth-web/pom.xml
whatsmars-earth-web/pom.xml
+29
-6
whatsmars-earth-web/src/main/resources/spring-context.xml
whatsmars-earth-web/src/main/resources/spring-context.xml
+2
-2
whatsmars-earth-web/src/main/resources/spring-datasource-jdbc.xml
...s-earth-web/src/main/resources/spring-datasource-jdbc.xml
+0
-2
whatsmars-earth-web/src/main/resources/spring-velocity.xml
whatsmars-earth-web/src/main/resources/spring-velocity.xml
+4
-4
未找到文件。
profile/development.properties
浏览文件 @
b8b7c47c
##ҵ
whatsmars.jdbc.mysql.url
=
jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
##��ҵ����
bjxizhan.quartz.cluster.mysql.url
=
jdbc:mysql://255.254.253.252:3306/quartz
bjxizhan.quartz.cluster.mysql.username
=
root
bjxizhan.quartz.cluster.mysql.password
=
xxxxxxx
##activemq
bjxizhan.activemq.broker.url
=
tcp://255.254.253.252:61616
##
##
����
bjxizhan.activemq.queue.withdraw
=
_bjxizhan_MQ_WITHDRAW.QUEUE
\ No newline at end of file
profile/production.properties
浏览文件 @
b8b7c47c
##ҵ
whatsmars.jdbc.mysql.url
=
jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
##��ҵ����
bjxizhan.quartz.cluster.mysql.url
=
jdbc:mysql://255.254.253.252:3306/quartz
bjxizhan.quartz.cluster.mysql.username
=
root
bjxizhan.quartz.cluster.mysql.password
=
xxxxxxx
##activemq
bjxizhan.activemq.broker.url
=
tcp://255.254.253.252:61616
##
##
����
bjxizhan.activemq.queue.withdraw
=
_bjxizhan_MQ_WITHDRAW.QUEUE
\ No newline at end of file
profile/test.properties
浏览文件 @
b8b7c47c
whatsmars.log4j.logger.path
=
/data/logs
whatsmars.log4j.logger.level
=
debug
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
0.0.0.0
:3306/test
whatsmars.jdbc.mysql.url
=
jdbc:mysql://
localhost
:3306/test
whatsmars.jdbc.mysql.username
=
root
whatsmars.jdbc.mysql.password
=
root
...
...
whatsmars-earth-web/pom.xml
浏览文件 @
b8b7c47c
...
...
@@ -36,6 +36,22 @@
<groupId>
org.springframework
</groupId>
<artifactId>
spring-webmvc
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-aop
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-jdbc
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-tx
</artifactId>
</dependency>
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
...
...
@@ -48,15 +64,22 @@
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.velocity
</groupId>
<artifactId>
velocity
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.velocity
</groupId>
<artifactId>
velocity-tools
</artifactId>
<exclusions>
<exclusion>
<groupId>
org.apache.struts
</groupId>
<artifactId>
*
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
commons-dbcp
</groupId>
<artifactId>
commons-dbcp
</artifactId>
</dependency>
<dependency>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis-spring
</artifactId>
</dependency>
<!-- jackson -->
...
...
whatsmars-earth-web/src/main/resources/spring-context.xml
浏览文件 @
b8b7c47c
...
...
@@ -5,10 +5,10 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire=
"byName"
>
<
!--<
bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<bean
class=
"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
>
<property
name=
"location"
value=
"classpath:dbcp-config.properties"
/>
</bean>
<import resource="spring-datasource-jdbc.xml" />
-->
<import
resource=
"spring-datasource-jdbc.xml"
/>
<import
resource=
"spring-dao.xml"
/>
<import
resource=
"spring-service.xml"
/>
</beans>
\ No newline at end of file
whatsmars-earth-web/src/main/resources/spring-datasource-jdbc.xml
浏览文件 @
b8b7c47c
...
...
@@ -26,7 +26,6 @@
<bean
id=
"sqlSessionFactory"
class=
"org.mybatis.spring.SqlSessionFactoryBean"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"configLocation"
value=
"classpath:sqlmap-config.xml"
></property>
<!-- <property name="dataSource" ref="dataSource" /> -->
</bean>
<bean
name=
"jdbcTransactionManager"
class=
"org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
...
...
@@ -38,7 +37,6 @@
<property
name=
"timeout"
value=
"30"
/>
</bean>
<!-- core api -->
<bean
id=
"sqlSession"
class=
"org.mybatis.spring.SqlSessionTemplate"
>
<constructor-arg
index=
"0"
ref=
"sqlSessionFactory"
/>
</bean>
...
...
whatsmars-earth-web/src/main/resources/spring-velocity.xml
浏览文件 @
b8b7c47c
...
...
@@ -72,16 +72,16 @@
</map>
</property>
</bean>
<
!--<
mvc:interceptors>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping
path=
"/**"
/>
<bean class="LoginInterceptor" />
<bean
class=
"
com.whatsmars.earth.web.interceptor.
LoginInterceptor"
/>
</mvc:interceptor>
<mvc:interceptor>
<mvc:mapping
path=
"/account/**"
/>
<mvc:exclude-mapping
path=
"/lender/recharge_callback.jhtml"
/>
<bean class="SecurityInterceptor" />
<bean
class=
"
com.whatsmars.earth.web.interceptor.
SecurityInterceptor"
/>
</mvc:interceptor>
</mvc:interceptors>
-->
</mvc:interceptors>
</beans>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录