12345678910111213141516171819202122232425262728293031323334 |
- # spring配置
- spring:
- redis:
- host: 192.168.60.221
- port: 6379
- password:
- datasource:
- driver-class-name: org.postgresql.Driver
- url: jdbc:postgresql://192.168.60.221:5432/postgres?currentSchema=cloud&reWriteBatchedInserts=true&useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
- username: postgres
- password: postgis
- # mybatis配置
- mybatis:
- # 搜索指定包别名
- typeAliasesPackage: com.siwei.job.domain
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
- mapperLocations: classpath:mapper/postgresql/**/*.xml
- # springdoc配置
- springdoc:
- gatewayUrl: http://localhost:8080/${spring.application.name}
- api-docs:
- # 是否开启接口文档
- enabled: true
- info:
- # 标题
- title: '定时任务接口文档'
- # 描述
- description: '定时任务接口描述'
- # 作者信息
- contact:
- name: RuoYi
- url: https://ruoyi.vip
|