Parcourir la source

修改pom配置

zhangbiao il y a 4 ans
Parent
commit
7653c349b6
2 fichiers modifiés avec 8 ajouts et 2 suppressions
  1. 6 0
      pom.xml
  2. 2 2
      target/classes/application.properties

+ 6 - 0
pom.xml

@@ -50,6 +50,12 @@
 			<artifactId>jaxb-api</artifactId>
 			<version>2.3.0</version>
 		</dependency>
+		<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
+		<dependency>
+			<groupId>com.google.guava</groupId>
+			<artifactId>guava</artifactId>
+			<version>30.0-jre</version>
+		</dependency>
 	</dependencies>
 
 	<build>

+ 2 - 2
target/classes/application.properties

@@ -1,7 +1,7 @@
-spring.data.mongodb.host=120.77.221.199
+spring.data.mongodb.host=7000
 spring.data.mongodb.database=jtxt-dev
 spring.data.mongodb.port=27017
-spring.data.mongodb.uri=mongodb://jtxt-admin:jtxt-admin@120.77.221.199:27017/?authSource=jtxt-dev
+spring.data.mongodb.uri=mongodb://jtxt-admin:jtxt-admin@localhost:27017/?authSource=jtxt-dev
 
 #jwt
 app.jwt.secret=SomethingSecureEnough