Jelajahi Sumber

添加测试ip

wuhongshuang 3 tahun lalu
induk
melakukan
8caa4aaaf9
1 mengubah file dengan 4 tambahan dan 2 penghapusan
  1. 4 2
      src/main/resources/bootstrap.properties

+ 4 - 2
src/main/resources/bootstrap.properties

@@ -11,8 +11,10 @@ eureka.client.service-url.defaultZone=http://112.74.63.148:49001/eureka/
 #eureka.instance.ip-address=10.241.20.241
 # config
 spring.profiles.active=jdbc
-spring.cloud.config.server.jdbc.sql=SELECT config_key as KEY, config_value as VALUE from sys_properties where (APPLICATION=? or application='application-default') and PROFILE=? and LABEL=? and status='1'
-spring.datasource.url=jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl
+spring.cloud.config.server.jdbc.sql=SELECT config_key as KEY, config_value as VALUE from sys_properties where (APPLICATION=? or application='application-default') and PROFILE='default' and LABEL=? and status='1'
+#spring.datasource.url=jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl
+#??
+spring.datasource.url=jdbc:mysql://rm-wz995mu26a1479kz0so.mysql.rds.aliyuncs.com:3306/szwl-test
 spring.datasource.username=root
 spring.datasource.password=sunzee@020
 spring.datasource.driver-class-name=com.mysql.jdbc.Driver