1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- server:
- port: 8080
- spring:
- application:
- name: mask
- datasource:
- # url: jdbc:mysql://124.70.152.102:3306/mask?useSSL=false
- # username: sunwin
- # password: Sunwin@2020
- # url: jdbc:mysql://192.168.20.82:3306/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
- # username: root
- # password: Sunwin@2020
- url: jdbc:mysql://localhost:3307/mask?useUnicode=true&characterEncoding=utf-8&useSSL=false
- username: root
- password: 123456
- driver-class-name: com.mysql.cj.jdbc.Driver
- redis:
- # 数据库索引,默认0
- database: 4
- # # 服务器IP地址
- # host: 192.168.20.83
- host: 127.0.0.1
- # 连接端口
- port: 6379
- # Redis服务器连接密码(默认为空)
- # password: sunwin
- jms:
- # 配置消息的类型 默认false,如果是true则表示为topic消息,如果为false表示Queue消息,一个服务里 只能用一种???
- pub-sub-domain: false
- activemq:
- user: admin # 连接用户名
- password: admin # 连接密码
- # broker-url: tcp://192.168.20.76:28085 # 消息组件的连接主机信息
- broker-url: tcp://localhost:61616 # 消息组件的连接主机信息
- queuename: mask
- mybatis-plus:
- # 指向实体类包路径
- type-aliases-package: com.sw.domain
- # mapper xml 文件地址
- mapper-locations: classpath:mapper/*.xml
- # 检查 mybatis 配置是否存在,一般命名为 mybatis-config.xml
- check-config-location: true
- # 执行模式。默认是 SIMPLE
- executor-type: simple
- #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
- global-config:
- db-config:
- id-type: auto
- # logic-delete-value: 9 #默认值9
- # logic-not-delete-value: 0 #默认值0
- configuration:
- variables:
- nextTermDays: 90
- #mybatis-plus配置控制台打印完整带参数SQL语句
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|