diff --git a/ruoyi/pom.xml b/ruoyi/pom.xml index bd5885cf..eac37708 100644 --- a/ruoyi/pom.xml +++ b/ruoyi/pom.xml @@ -122,6 +122,12 @@ com.github.pagehelper pagehelper-spring-boot-starter ${pagehelper.spring.boot.starter.version} + + + org.mybatis + mybatis + + diff --git a/ruoyi/src/main/resources/application-dev.yml b/ruoyi/src/main/resources/application-dev.yml index 29bed646..4954cb63 100644 --- a/ruoyi/src/main/resources/application-dev.yml +++ b/ruoyi/src/main/resources/application-dev.yml @@ -6,7 +6,7 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://192.168.0.222:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root password: root # 从库数据源