|
@@ -1,81 +0,0 @@
|
|
|
-socket:
|
|
|
- io:
|
|
|
- host: 0.0.0.0
|
|
|
- port: 9092
|
|
|
- platform: /inform
|
|
|
-
|
|
|
-#dev环境公共配置文件
|
|
|
-spring:
|
|
|
- rabbitmq:
|
|
|
- host: 192.168.1.210
|
|
|
- port: 5672
|
|
|
- username: guest
|
|
|
- password: guest
|
|
|
- redis: #redis 配置
|
|
|
- database: 0
|
|
|
- password: Cs123456
|
|
|
- host: 192.168.1.210
|
|
|
- port: 6379
|
|
|
- pool:
|
|
|
- max-wait: 30
|
|
|
- max-idle: 5
|
|
|
- cache:
|
|
|
- type: redis
|
|
|
- # mysql DATABASE CONFIG
|
|
|
- datasource:
|
|
|
- #指定自定义连接池
|
|
|
- type: com.zaxxer.hikari.HikariDataSource
|
|
|
- #指定数据库连接信息
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
- url: jdbc:mysql://192.168.1.204:3306/message?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
- username: root
|
|
|
- password: Cs123456
|
|
|
-
|
|
|
- #初始化数据库脚本
|
|
|
- initialize: true
|
|
|
- platform: mysql
|
|
|
- #schema: classpath:/db/schema-h2.sql
|
|
|
- #data: classpath:/db/data-h2.sql
|
|
|
- continue-on-error: true
|
|
|
- hikari:
|
|
|
- max-lifetime: 1765000
|
|
|
- maximum-pool-size: 15
|
|
|
- auto-commit: true
|
|
|
- connection-test-query: select 1
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-#mybatis
|
|
|
-mybatis-plus:
|
|
|
- mapper-locations: classpath:/mapper/*Mapper.xml
|
|
|
- #实体扫描,多个package用逗号或者分号分隔
|
|
|
- typeAliasesPackage: com.sinosoft.voice.model
|
|
|
- #typeEnumsPackage: com.sinosoft.cmp.demo.user.model.enums
|
|
|
- global-config:
|
|
|
- #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
|
|
|
- id-type: 2
|
|
|
- #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
|
|
|
- field-strategy: 2
|
|
|
- #驼峰下划线转换
|
|
|
- #db-column-underline: true
|
|
|
- #刷新mapper 调试神器
|
|
|
- refresh-mapper: true
|
|
|
- #数据库大写下划线转换
|
|
|
- capital-mode: false
|
|
|
- #序列接口实现类配置
|
|
|
- #key-generator: com.sinosoft.cmp.demo
|
|
|
- #逻辑删除配置
|
|
|
- logic-delete-value: 0
|
|
|
- logic-not-delete-value: 1
|
|
|
- #自定义填充策略接口实现
|
|
|
- #meta-object-handler: com.sinosoft.cmp.demo.xxx
|
|
|
- #自定义SQL注入器
|
|
|
- #sql-injector: com.sinosoft.cmp.demo.xxx
|
|
|
- configuration:
|
|
|
- map-underscore-to-camel-case: false
|
|
|
- cache-enabled: false
|
|
|
-
|
|
|
- # 打印sql
|
|
|
-logging:
|
|
|
- level:
|
|
|
- com.onepro.custom.mapper: DEBUG
|