From c56bd485c56d94d731fa525143057a06a735386f Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Fri, 17 Jul 2020 17:29:11 +0800
Subject: [PATCH] 从墨迹天气获得小时实时数据插入realtime_weather表
---
src/main/resources/application.yml | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index a327bfe..71fab61 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -49,6 +49,17 @@
#password: 123456
channelCacheSize: 10
concurrency: 5
-
+ redis:
+ host: 127.0.0.1
+ port: 6379
+ password: root
+ database: 1
+ timeout: 5000
+ pool:
+ max-active: 8
+ max-wait: -1
+ max-idle: 8
+ min-idle: 0
mybatis:
- mapper-locations: classpath*:/mapper/*Mapper.xml
\ No newline at end of file
+ mapper-locations: classpath*:/mapper/*Mapper.xml
+ config-location: classpath:/mapper/mybatis-config.xml
\ No newline at end of file
--
Gitblit v1.8.0