!8 update 重构 将nacos配置数据提到固定文件 便于修改和观看

* 修复 nacos配置不支持yml分隔符---问题
* 修改 将nacos配置数据提到固定文件
This commit is contained in:
月夜
2021-12-30 10:26:22 +00:00
committed by 疯狂的狮子Li
parent 1ece3f0415
commit c39cbd9c54
10 changed files with 375 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
# 将此内容填入nacos对应的配置内容中
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
# mybatis配置
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.job.domain
# 配置mapper的扫描找到所有的mapper.xml映射文件
mapperLocations: classpath:mapper/**/*.xml
# swagger配置
swagger:
title: 定时任务接口文档
license: Powered By ruoyi
licenseUrl: https://ruoyi.vip