Browse Source

生产配置文件更改

hym 4 years ago
parent
commit
4a0a9e3920

+ 23 - 0
meter-reading-sishui/read-sqlSever/src/main/resources/application-prd.properties

@@ -0,0 +1,23 @@
+server.port=9080
+spring.application.name=sishui-meter-reading
+logging.file.path=./logs/sishui-meter-reading
+logging.level.root=info
+spring.datasource.hikari.max-lifetime=30000
+spring.datasource.mysql.jdbc-url=jdbc:mysql://47.112.217.10:3306/smart_city?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=convertToNull
+spring.datasource.mysql.username=root
+spring.datasource.mysql.password=100Zone@123
+spring.datasource.mysql.driver-class-name=com.mysql.jdbc.Driver
+
+spring.datasource.sqlsever.jdbc-url=jdbc:sqlserver://124.134.133.95:3341;databaseName=copymetercollectionSS
+spring.datasource.sqlsever.username=LoginNo_HuaXu
+spring.datasource.sqlsever.password=HuaXu@okm123
+spring.datasource.sqlsever.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
+mybatis.configuration.map-underscore-to-camel-case=true
+mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
+mybatis.configuration.use-column-label=true
+
+customerId=137
+siteId=1
+sysId=58
+buildingId=1
+model=188\u534F\u8BAE\uFF08\u6709\u9600\uFF09

+ 1 - 1
meter-reading-sishui/read-sqlSever/src/main/resources/application.properties

@@ -1 +1 @@
-spring.profiles.active=dev
+spring.profiles.active=prd