12345678910111213141516171819202122232425262728293031323334 |
- # spring配置
- spring:
- redis:
- host: localhost
- port: 6379
- password:
- 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: abc..123
- # mybatis配置
- mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.ruoyi.job.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath:mapper/**/*.xml
- # springdoc配置
- springdoc:
- gatewayUrl: http://localhost:8080/${spring.application.name}
- api-docs:
- # 是否开启接口文档
- enabled: true
- info:
- # 标题
- title: '定时任务接口文档'
- # 描述
- description: '定时任务接口描述'
- # 作者信息
- contact:
- name: RuoYi
- url: https://ruoyi.vip
|