diff --git a/pom.xml b/pom.xml index 20f6855cb..f14adeb2f 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ org.springframework.boot spring-boot-dependencies - 2.0.5.RELEASE + 2.1.0.RELEASE pom import diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index da7a23d52..326d1c375 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -2,11 +2,11 @@ spring: datasource: type: com.alibaba.druid.pool.DruidDataSource - driverClassName: com.mysql.jdbc.Driver + driverClassName: com.mysql.cj.jdbc.Driver druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true + url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: password # 从库数据源 diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js index 9f56a6ac0..61dacd9d3 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/common.js @@ -107,9 +107,9 @@ $(function() { var expandFlag = false; $("#expandAllBtn").click(function() { if (expandFlag) { - $('#bootstrap-table').bootstrapTreeTable('expandAll'); + $('#bootstrap-tree-table').bootstrapTreeTable('expandAll'); } else { - $('#bootstrap-table').bootstrapTreeTable('collapseAll'); + $('#bootstrap-tree-table').bootstrapTreeTable('collapseAll'); } expandFlag = expandFlag ? false: true; })