mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-24 11:28:39 +08:00
!8 update 重构 将nacos配置数据提到固定文件 便于修改和观看
* 修复 nacos配置不支持yml分隔符---问题 * 修改 将nacos配置数据提到固定文件
This commit is contained in:
20
sql/contentYml/ruoyi-job-dev.yml
Normal file
20
sql/contentYml/ruoyi-job-dev.yml
Normal 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
|
||||
Reference in New Issue
Block a user