Procházet zdrojové kódy

修改环境配置

宋悦 před 7 roky
rodič
revize
65a74b3856

+ 1 - 1
core-main/src/main/resources/application-dev.properties

@@ -9,7 +9,7 @@ spring.redis.port=6379
 spring.jpa.show-sql=true
 eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
 
-spring.rabbitmq.host=192.168.1.99
+spring.rabbitmq.host=localhost
 spring.rabbitmq.port=5672
 spring.rabbitmq.username=examcloud
 spring.rabbitmq.password=examcloud

+ 12 - 1
core-main/src/main/resources/application-test.properties

@@ -1,5 +1,16 @@
-spring.datasource.url=jdbc:mysql://192.168.1.74:3306/exam_cloud_yun?useUnicode=true&characterEncoding=UTF-8
+spring.datasource.url=jdbc:mysql://localhost:3306/exam_cloud_test?useUnicode=true&characterEncoding=UTF-8
 spring.datasource.username=root
 spring.datasource.password=root
+
+
 spring.redis.host=127.0.0.1
 spring.redis.port=6379
+
+spring.jpa.show-sql=true
+eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
+
+spring.rabbitmq.host=localhost
+spring.rabbitmq.port=5672
+spring.rabbitmq.username=examcloud
+spring.rabbitmq.password=examcloud
+spring.rabbitmq.listener.acknowledgeMode=MANUAL