wangli преди 4 години
родител
ревизия
1e0d35896b
променени са 2 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 5 0
      sms_water/src/main/resources/application-prd.properties
  2. 6 0
      sms_water/src/main/resources/application-sit.properties

+ 5 - 0
sms_water/src/main/resources/application-prd.properties

@@ -17,6 +17,11 @@ spring.jackson.time-zone=GMT+8
 #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
 #spring.jackson.joda-date-time-format: yyyy-MM-dd HH:mm:ss
 
+
+#mongodb
+spring.data.mongodb.uri=mongodb://127.0.0.1:27017/sms
+logging.level.org.springframework.data.mongodb.core=DEBUG
+
 # redis
 spring.redis.host=114.135.61.188
 spring.redis.port=26379

+ 6 - 0
sms_water/src/main/resources/application-sit.properties

@@ -17,6 +17,12 @@ spring.jackson.time-zone=GMT+8
 #spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
 #spring.jackson.joda-date-time-format: yyyy-MM-dd HH:mm:ss
 
+
+#mongodb
+spring.data.mongodb.uri=mongodb://127.0.0.1:27017/sms
+logging.level.org.springframework.data.mongodb.core=DEBUG
+
+
 # redis
 spring.redis.host=114.135.61.188
 spring.redis.port=26379