|
|
@ -9,7 +9,7 @@ debug: false |
|
|
|
#datasource数据源设置 |
|
|
|
#datasource数据源设置 |
|
|
|
spring: |
|
|
|
spring: |
|
|
|
datasource: |
|
|
|
datasource: |
|
|
|
url: jdbc:mysql://139.159.177.244:3306/hsg_order?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false |
|
|
|
url: jdbc:mysql://139.159.177.244:3306/hfkj?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false |
|
|
|
username: root |
|
|
|
username: root |
|
|
|
password: HF123456. |
|
|
|
password: HF123456. |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
|
type: com.alibaba.druid.pool.DruidDataSource |
|
|
@ -32,7 +32,7 @@ spring: |
|
|
|
host: 139.159.177.244 |
|
|
|
host: 139.159.177.244 |
|
|
|
port: 36379 |
|
|
|
port: 36379 |
|
|
|
password: HF123456.Redis |
|
|
|
password: HF123456.Redis |
|
|
|
timeout: 1000 |
|
|
|
timeout: 36000000 |
|
|
|
jedis: |
|
|
|
jedis: |
|
|
|
pool: |
|
|
|
pool: |
|
|
|
max-active: 20 |
|
|
|
max-active: 20 |
|
|
@ -51,27 +51,22 @@ spring: |
|
|
|
# client: |
|
|
|
# client: |
|
|
|
# id: provider-id |
|
|
|
# id: provider-id |
|
|
|
#MQTT默认的消息推送主题,实际可在调用接口是指定 |
|
|
|
#MQTT默认的消息推送主题,实际可在调用接口是指定 |
|
|
|
# default: |
|
|
|
# default: |
|
|
|
# topic: topic |
|
|
|
# topic: topic |
|
|
|
rocketmq: |
|
|
|
rocketmq: |
|
|
|
name-server: 139.159.177.244:9876 |
|
|
|
name-server: 139.159.177.244:9876 |
|
|
|
producer: |
|
|
|
producer: |
|
|
|
#必须指定group |
|
|
|
#必须指定group |
|
|
|
group: default-group |
|
|
|
group: default-group |
|
|
|
|
|
|
|
|
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
#配置日期返回至前台为时间戳 |
|
|
|
jackson: |
|
|
|
jackson: |
|
|
|
serialization: |
|
|
|
serialization: |
|
|
|
write-dates-as-timestamps: true |
|
|
|
write-dates-as-timestamps: true |
|
|
|
mybatis: |
|
|
|
mybatis: |
|
|
|
mapperLocations: |
|
|
|
mapperLocations: |
|
|
|
- classpath*:sqlmap*/*.xml |
|
|
|
- classpath*:sqlmap*/*.xml |
|
|
|
type-aliases-package: |
|
|
|
type-aliases-package: |
|
|
|
org.springboot.sample.entity |
|
|
|
org.springboot.sample.entity |
|
|
|
configuration: |
|
|
|
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|
|
|
|
|
|
|
#开启MyBatis的二级缓存 |
|
|
|
|
|
|
|
cache-enabled: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jetcache: |
|
|
|
jetcache: |
|
|
|
statIntervalMinutes: 15 |
|
|
|
statIntervalMinutes: 15 |
|
|
|