diff --git a/udf-api/udf-api-server/src/main/resources/application-dev.properties b/udf-api/udf-api-server/src/main/resources/application-dev.properties index cb84e0d..2d593a9 100644 --- a/udf-api/udf-api-server/src/main/resources/application-dev.properties +++ b/udf-api/udf-api-server/src/main/resources/application-dev.properties @@ -16,7 +16,7 @@ org.itkk.udf.starter.datasource.dynamic.properties.defaultCode=udf # DataSource Dynamic -- udf org.itkk.udf.starter.datasource.dynamic.properties.map.udf.code=udf org.itkk.udf.starter.datasource.dynamic.properties.map.udf.enable=true -org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://web.itkk.org:3306/udf_dev?useUnicode=true&useSSL=false&autoReconnect=true +org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://web.itkk.org:3306/udf_dev?useUnicode=true&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_dev org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=123456 org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver diff --git a/udf-api/udf-api-server/src/main/resources/application-prod.properties b/udf-api/udf-api-server/src/main/resources/application-prod.properties index 3b1982b..f7313d9 100644 --- a/udf-api/udf-api-server/src/main/resources/application-prod.properties +++ b/udf-api/udf-api-server/src/main/resources/application-prod.properties @@ -16,7 +16,7 @@ org.itkk.udf.starter.datasource.dynamic.properties.defaultCode=udf # DataSource Dynamic -- udf org.itkk.udf.starter.datasource.dynamic.properties.map.udf.code=udf org.itkk.udf.starter.datasource.dynamic.properties.map.udf.enable=true -org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://192.168.1.100:3306/udf_prod?useUnicode=true&useSSL=false&autoReconnect=true +org.itkk.udf.starter.datasource.dynamic.properties.map.udf.url=jdbc:mysql://192.168.1.100:3306/udf_prod?useUnicode=true&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai org.itkk.udf.starter.datasource.dynamic.properties.map.udf.username=udf_prod org.itkk.udf.starter.datasource.dynamic.properties.map.udf.password=5ds2c6de54t1fd36e5f org.itkk.udf.starter.datasource.dynamic.properties.map.udf.driverClassName=com.mysql.cj.jdbc.Driver