Browse Source

mongo链接修改

xufei 2 years ago
parent
commit
7efd9ca1b8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/main/resources/application-dev.yml
  2. 1 1
      src/main/resources/application-prod.yml

+ 1 - 1
src/main/resources/application-dev.yml

@@ -1,7 +1,7 @@
 spring:
   data:
     mongodb:
-      uri: mongodb://itslaw:itslaw_168@dds-uf6ff5dfd9aef3641601-pub.mongodb.rds.aliyuncs.com:3717,dds-uf6ff5dfd9aef3642555-pub.mongodb.rds.aliyuncs.com:3717/itslaw?replicaSet=mgset-6501997
+      uri: mongodb://itslaw:itslaw_168@dds-uf6ff5dfd9aef3641601-pub.mongodb.rds.aliyuncs.com:3717,dds-uf6ff5dfd9aef3642555-pub.mongodb.rds.aliyuncs.com:3717/itslaw
 
 oss:
   endpoint: oss-cn-shanghai.aliyuncs.com

+ 1 - 1
src/main/resources/application-prod.yml

@@ -1,7 +1,7 @@
 spring:
   data:
     mongodb:
-      uri: mongodb://itslaw:itslaw_168@dds-uf6ff5dfd9aef3641.mongodb.rds.aliyuncs.com:3717,dds-uf6ff5dfd9aef3642.mongodb.rds.aliyuncs.com:3717/itslaw?replicaSet=mgset-6501997
+      uri: mongodb://itslaw:itslaw_168@dds-uf6ff5dfd9aef3641.mongodb.rds.aliyuncs.com:3717,dds-uf6ff5dfd9aef3642.mongodb.rds.aliyuncs.com:3717/itslaw
 
 oss:
   endpoint: oss-cn-shanghai-internal.aliyuncs.com