diff --git a/src/main/resources/application-officedev.properties b/src/main/resources/application-officedev.properties index 7e08ad4d1..13dbe1448 100644 --- a/src/main/resources/application-officedev.properties +++ b/src/main/resources/application-officedev.properties @@ -1,15 +1,17 @@ spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.schema-name=royalpay +spring.datasource.user=root +spring.datasource.pwd=rpayplus spring.datasource.host=192.168.0.84:3306 spring.datasource.master.jdbc-url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.master.username=root -spring.datasource.master.password=rpayplus +spring.datasource.master.username=${spring.datasource.user} +spring.datasource.master.password=${spring.datasource.pwd} spring.datasource.slave.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.slave.jdbc-url=jdbc:mysql://${spring.datasource.host}/${spring.datasource.schema-name}?useUnicode=true&characterEncoding=utf8&useSSL=false -spring.datasource.slave.username=root -spring.datasource.slave.password=rpayplus +spring.datasource.slave.username=${spring.datasource.user} +spring.datasource.slave.password=${spring.datasource.pwd} spring.redis.host=192.168.0.84 spring.redis.port=6379