Browse Source

mongo数据库增加密码

MengyangDuan 4 years ago
parent
commit
95ee8cd233
2 changed files with 4 additions and 4 deletions
  1. BIN
      .DS_Store
  2. 4 4
      src/main/resources/bootstrap.yml

BIN
.DS_Store


+ 4 - 4
src/main/resources/bootstrap.yml

@@ -5,11 +5,11 @@ server:
   tomcat:
     uri-encoding: utf-8
 spring:
-  data:
-    mongodb:
-      uri: mongodb://47.98.174.59:27017/co-enterprise
   http:
     encoding:
       charset: UTF-8
       enabled: true
-      force: true
+      force: true
+  data:
+    mongodb:
+      uri:  mongodb://mooc:123456@47.98.174.59:27017/co-enterprise