Commit be903417b7ef2e89e2e923902560a8a6553ebf86

Authored by jiangjiazhi
1 parent 45f0ba7d74

增加配置

Showing 3 changed files with 4 additions and 4 deletions

platform-operate-api/src/main/resources/database.properties View file @ be90341
... ... @@ -5,8 +5,8 @@
5 5 mongo.db.host=${mongo.db.host}
6 6 mongo.db.port=${mongo.db.port}
7 7 mongo.db.dbname=${mongo.db.dbname}
8   -mongo.db.username=root
9   -mongo.db.password=root
  8 +mongo.db.username=${mongo.db.username}
  9 +mongo.db.password=${mongo.db.password}
10 10  
11 11  
12 12 mongo.port=27017
platform-operate-api/src/main/resources/spring/applicationContext.xml View file @ be90341
... ... @@ -23,7 +23,7 @@
23 23 <property name="messageFile" value="message.properties"/>
24 24 </bean>
25 25 <import resource="classpath:/spring/applicationContext_biz_patient.xml"/>
26   - <import resource="classpath:/spring/spring-mongodb-old.xml"/>
  26 + <import resource="classpath:/spring/spring-mongodb.xml"/>
27 27 <import resource="classpath:/spring/applicationContext-dal.xml"/>
28 28 </beans>
platform-resource/resources/config-test.properties View file @ be90341
1   -mongo.db.host=localhost
  1 +mongo.db.host=119.90.57.26
2 2 mongo.db.port=10001
3 3 mongo.db.dbname=platform
4 4