ruoyi-gen-strong3.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # spring配置
  2. spring:
  3. redis:
  4. host: 10.16.4.12
  5. port: 6379
  6. password:
  7. database: 11
  8. datasource:
  9. driver-class-name: com.mysql.cj.jdbc.Driver
  10. url: jdbc:mysql://121.36.73.159:56612/znyl-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  11. username: dev
  12. password: sckj2022@123
  13. # mybatis配置
  14. mybatis:
  15. # 搜索指定包别名
  16. typeAliasesPackage: com.ruoyi.gen
  17. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  18. mapperLocations: classpath:mapper/**/*.xml
  19. # swagger配置
  20. swagger:
  21. title: 代码生成接口文档
  22. license: Powered By ruoyi
  23. licenseUrl: https://ruoyi.vip
  24. # 代码生成
  25. gen:
  26. # 作者
  27. author: ruoyi
  28. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  29. packageName: com.ruoyi.system
  30. # 自动去除表前缀,默认是false
  31. autoRemovePre: false
  32. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  33. tablePrefix: sys_