application.yml 1.9 KB

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