File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- server.address =anhuinorthen.com
2
- db.name =weiled_anhuinorthen
3
- db.username =weiled_admin
4
- db.password =CmT]8KZ^6ftM
1
+ server.address =198.252.69.49
2
+ db.name =weiled_db
3
+ db.username =weiled_usr
4
+ db.password =weiwei
5
5
project.name =anhuinorthen
6
6
log.file.name =/home/weiled/anhuinorthen.log
Original file line number Diff line number Diff line change 9
9
<url >http://www.easykoo.com</url >
10
10
<properties >
11
11
<dao .target.dir>src/main/java</dao .target.dir>
12
- <compiler .version>1.7 </compiler .version>
12
+ <compiler .version>1.6 </compiler .version>
13
13
<spring .version>3.2.4.RELEASE</spring .version>
14
14
<mysql .version>5.1.26</mysql .version>
15
15
<mybatis .version>3.2.2</mybatis .version>
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public boolean checkEmail(String email) {
139
139
140
140
@ Override
141
141
public boolean checkPassword (Integer accountId , String password ) {
142
- Map <String , Object > params = new HashMap <>();
142
+ Map <String , Object > params = new HashMap <String , Object >();
143
143
params .put ("accountId" , accountId );
144
144
params .put ("password" , EncryptUtils .MD5 (password ));
145
145
return accountSecurityMapper .checkPassword (params );
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
12
12
<!-- <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="${jndiName}"></property> </bean> -->
13
13
14
14
<!-- 配置数据源 -->
15
- <bean name =" dataSource1 " class =" com.alibaba.druid.pool.DruidDataSource" init-method =" init" destroy-method =" close" >
15
+ <bean name =" dataSource " class =" com.alibaba.druid.pool.DruidDataSource" init-method =" init" destroy-method =" close" >
16
16
<property name =" url" value =" ${jdbc.url}" />
17
17
<property name =" username" value =" ${jdbc.username}" />
18
18
<property name =" password" value =" ${jdbc.password}" />
@@ -52,7 +52,7 @@ http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
52
52
<property name =" filters" value =" mergeStat" />
53
53
</bean >
54
54
55
- <bean id =" dataSource " class =" org.apache.commons.dbcp.BasicDataSource" >
55
+ <bean id =" dataSource1 " class =" org.apache.commons.dbcp.BasicDataSource" >
56
56
<property name =" driverClassName" value =" ${jdbc.driver}" ></property >
57
57
<property name =" url" value =" ${jdbc.url}" ></property >
58
58
<property name =" username" value =" ${jdbc.username}" ></property >
You can’t perform that action at this time.
0 commit comments