application.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. server:
  2. port: 8080
  3. spring:
  4. application:
  5. name: mask
  6. datasource:
  7. # url: jdbc:mysql://124.70.152.102:3306/mask?useSSL=false
  8. # username: sunwin
  9. # password: Sunwin@2020
  10. url: jdbc:mysql://192.168.20.82:3306/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
  11. username: root
  12. password: Sunwin@2020
  13. driver-class-name: com.mysql.cj.jdbc.Driver
  14. redis:
  15. # 数据库索引,默认0
  16. database: 4
  17. # # 服务器IP地址
  18. host: 192.168.20.83
  19. # 连接端口
  20. port: 6379
  21. # Redis服务器连接密码(默认为空)
  22. password: sunwin
  23. jms:
  24. # 配置消息的类型 默认false,如果是true则表示为topic消息,如果为false表示Queue消息,一个服务里 只能用一种???
  25. pub-sub-domain: false
  26. activemq:
  27. user: admin # 连接用户名
  28. password: admin # 连接密码
  29. broker-url: tcp://192.168.20.76:28085 # 消息组件的连接主机信息
  30. queuename: mask
  31. mybatis-plus:
  32. # 指向实体类包路径
  33. type-aliases-package: com.sw.domain
  34. # mapper xml 文件地址
  35. mapper-locations: classpath:mapper/*.xml
  36. # 检查 mybatis 配置是否存在,一般命名为 mybatis-config.xml
  37. check-config-location: true
  38. # 执行模式。默认是 SIMPLE
  39. executor-type: simple
  40. #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
  41. global-config:
  42. db-config:
  43. id-type: auto
  44. # logic-delete-value: 9 #默认值9
  45. # logic-not-delete-value: 0 #默认值0
  46. configuration:
  47. variables:
  48. nextTermDays: 90
  49. #mybatis-plus配置控制台打印完整带参数SQL语句
  50. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl