Commit 53bb98eb authored by wanghao's avatar wanghao

1 Springboot中redis使用lettuce连接池经常连接超时解决

parent 5ab3b76a
...@@ -58,7 +58,7 @@ spring: ...@@ -58,7 +58,7 @@ spring:
# redis 配置 # redis 配置
redis: redis:
# 地址 # 地址
host: 36.138.180.82 host: localhost
# 端口,默认为6379 # 端口,默认为6379
port: 63798 port: 63798
# 数据库索引 # 数据库索引
...@@ -98,6 +98,16 @@ zehong: ...@@ -98,6 +98,16 @@ zehong:
# ureport访问路径-测试 # ureport访问路径-测试
ureporturl: http://36.138.180.82:8905/gassafety ureporturl: http://36.138.180.82:8905/gassafety
zhengfu:
#appId
appId: 6e2c7b5a4g1h0fd9
#appSecret
appSecret: b5baee3c8b9bfea4efce1cb0cd3fe5ab
#tokenurl
tokenUrl: http://test.zfcxjst.hebei.gov.cn:8082/openApi/authorization/api-entry/v1/getAccessToken
#链接访问地址
apiUrl: http://test.zfcxjst.hebei.gov.cn:8082/openApi/index/sync/v1/entrypoint
wjyhq: wjyhq:
#无极液化气对接地址 #无极液化气对接地址
apiUrl: https://api.117915.com/openapi apiUrl: https://api.117915.com/openapi
......
...@@ -26,7 +26,7 @@ spring: ...@@ -26,7 +26,7 @@ spring:
# 国际化资源文件路径 # 国际化资源文件路径
basename: i18n/messages basename: i18n/messages
profiles: profiles:
active: test active: prd
# 文件上传 # 文件上传
servlet: servlet:
multipart: multipart:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment