|
@@ -1,78 +1,78 @@
|
|
|
-logging:
|
|
|
- level:
|
|
|
- org.springframework.web: INFO
|
|
|
- com.github.binarywang.demo.wx.mp: DEBUG
|
|
|
- me.chanjar.weixin: DEBUG
|
|
|
-wechat:
|
|
|
- open:
|
|
|
- componentAppId: wxebb6d40071dc817e
|
|
|
- componentSecret: fb87e72522d3af0e1acd18fdc21522a3
|
|
|
- componentToken: A_TOKEN
|
|
|
- componentAesKey: lr3dxCbG0Clep5zo9F2wZ7owkjOaDBr76lmlGSRhLio
|
|
|
- redis: #redis 配置
|
|
|
- database: 0
|
|
|
- password: Cs123456
|
|
|
- host: 192.168.1.210
|
|
|
- port: 6379
|
|
|
-
|
|
|
-hadoop:
|
|
|
- hdfs: hdfs://192.168.1.135:9000
|
|
|
-
|
|
|
-#spring
|
|
|
-spring:
|
|
|
- devtools:
|
|
|
- restart:
|
|
|
- enabled: false
|
|
|
- rabbitmq:
|
|
|
- host: 192.168.1.210
|
|
|
- port: 5672
|
|
|
- username: guest
|
|
|
- password: guest
|
|
|
- datasource:
|
|
|
- #指定自定义连接池
|
|
|
- type: com.zaxxer.hikari.HikariDataSource
|
|
|
- #指定数据库连接信息
|
|
|
- driver-class-name: com.mysql.jdbc.Driver
|
|
|
- #url: jdbc:mysql://sinosoft.vicp.io:11262/hmbst?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
- #username: root
|
|
|
- #password: admin01
|
|
|
- url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
|
|
|
- username: root
|
|
|
- password: admin01
|
|
|
-
|
|
|
- platform: mysql
|
|
|
-
|
|
|
- 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.gateway.wx.mp.entity;ins.platform.template.model
|
|
|
- #typeEnumsPackage: com.baomidou.springboot.entity.enums
|
|
|
- global-config:
|
|
|
- # 数据库相关配置
|
|
|
- db-config:
|
|
|
- #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
|
|
- id-type: id_worker
|
|
|
- #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
|
|
|
- field-strategy: not_empty
|
|
|
- #驼峰下划线转换
|
|
|
- column-underline: true
|
|
|
- #数据库大写下划线转换
|
|
|
- #capital-mode: true
|
|
|
- #逻辑删除配置
|
|
|
- logic-delete-value: 0
|
|
|
- logic-not-delete-value: 1
|
|
|
- db-type: h2
|
|
|
- #刷新mapper 调试神器
|
|
|
- refresh: true
|
|
|
- # 原生配置
|
|
|
- configuration:
|
|
|
- map-underscore-to-camel-case: true
|
|
|
- cache-enabled: false
|
|
|
+logging:
|
|
|
+ level:
|
|
|
+ org.springframework.web: INFO
|
|
|
+ com.github.binarywang.demo.wx.mp: DEBUG
|
|
|
+ me.chanjar.weixin: DEBUG
|
|
|
+wechat:
|
|
|
+ open:
|
|
|
+ componentAppId: wxebb6d40071dc817e
|
|
|
+ componentSecret: fb87e72522d3af0e1acd18fdc21522a3
|
|
|
+ componentToken: A_TOKEN
|
|
|
+ componentAesKey: lr3dxCbG0Clep5zo9F2wZ7owkjOaDBr76lmlGSRhLio
|
|
|
+ redis: #redis 配置
|
|
|
+ database: 0
|
|
|
+ password: Cs123456
|
|
|
+ host: 192.168.1.210
|
|
|
+ port: 6379
|
|
|
+
|
|
|
+hadoop:
|
|
|
+ hdfs: hdfs://192.168.1.135:9000
|
|
|
+
|
|
|
+#spring
|
|
|
+spring:
|
|
|
+ devtools:
|
|
|
+ restart:
|
|
|
+ enabled: false
|
|
|
+ rabbitmq:
|
|
|
+ host: 192.168.1.210
|
|
|
+ port: 5672
|
|
|
+ username: guest
|
|
|
+ password: guest
|
|
|
+ datasource:
|
|
|
+ #指定自定义连接池
|
|
|
+ type: com.zaxxer.hikari.HikariDataSource
|
|
|
+ #指定数据库连接信息
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ #url: jdbc:mysql://sinosoft.vicp.io:11262/hmbst?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
+ #username: root
|
|
|
+ #password: admin01
|
|
|
+ url: jdbc:mysql://192.168.1.201:3306/callcenterdb2.0?useUnicode=true&characterEncoding=utf-8
|
|
|
+ username: root
|
|
|
+ password: Cs123456
|
|
|
+
|
|
|
+ platform: mysql
|
|
|
+
|
|
|
+ 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.gateway.wx.mp.entity;ins.platform.template.model
|
|
|
+ #typeEnumsPackage: com.baomidou.springboot.entity.enums
|
|
|
+ global-config:
|
|
|
+ # 数据库相关配置
|
|
|
+ db-config:
|
|
|
+ #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID",ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
|
|
|
+ id-type: id_worker
|
|
|
+ #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断"
|
|
|
+ field-strategy: not_empty
|
|
|
+ #驼峰下划线转换
|
|
|
+ column-underline: true
|
|
|
+ #数据库大写下划线转换
|
|
|
+ #capital-mode: true
|
|
|
+ #逻辑删除配置
|
|
|
+ logic-delete-value: 0
|
|
|
+ logic-not-delete-value: 1
|
|
|
+ db-type: h2
|
|
|
+ #刷新mapper 调试神器
|
|
|
+ refresh: true
|
|
|
+ # 原生配置
|
|
|
+ configuration:
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
+ cache-enabled: false
|