Parcourir la source

修改pom配置

zhangbiao il y a 4 ans
Parent
commit
9fa8a09ccc
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 2 1
      src/main/resources/application.properties
  2. 1 1
      target/classes/mongoConfig.xml

+ 2 - 1
src/main/resources/application.properties

@@ -1,3 +1,4 @@
+server.port=7000
 spring.data.mongodb.host=7000
 spring.data.mongodb.database=jtxt-dev
 spring.data.mongodb.port=27017
@@ -8,4 +9,4 @@ app.jwt.secret=SomethingSecureEnough
 #1 day
 app.jwt.expiration-in-ms=86400000
 app.jwt.token.prefix=China
-app.jwt.header.string=Authorization
+app.jwt.header.string=Authorization

+ 1 - 1
target/classes/mongoConfig.xml

@@ -10,7 +10,7 @@
        http://www.springframework.org/schema/context/spring-context.xsd">
     <context:annotation-config />
 
-    <mongo:mongo-client id="mongoClient" host="120.77.221.199" />
+    <mongo:mongo-client id="mongoClient" host="localhost" />
 
     <mongo:db-factory id="mongoDbFactory" dbname="jtxt-dev" mongo-client-ref="mongoClient" />