@ -6,9 +6,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://192.168.31.49:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: admin123
url: jdbc:mysql://rm-bp1262h6dc7w4hy319o.mysql.rds.aliyuncs.com:3306/wayn_shop?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: majun
password: majun123456
# 从库数据源
slave:
# 从数据源开关/默认关闭
@ -22,7 +22,7 @@
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-generator</artifactId>
<version>3.3.2</version>
<version>${mybatis-plus.version}</version>
</dependency>
<!--阿里数据库连接池 -->