1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- # 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.gen.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
- # 代码生成
- gen:
- # 作者
- author: siwei
- # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
- packageName: com.siwei.system
- # 自动去除表前缀,默认是false
- autoRemovePre: false
- # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
- tablePrefix: sys_
- # 是否允许生成文件覆盖到本地(自定义路径),默认不允许
- allowOverwrite: false
|