更改数据库连接

更新新闻时间格式为24小时制
This commit is contained in:
gavin
2024-07-12 15:33:25 +08:00
parent 3bb354bbc6
commit 2f9e54bf4f
3 changed files with 28 additions and 6 deletions

View File

@@ -3,9 +3,9 @@ spring:
show-sql: true
# Redis配置
redis:
host: 43.132.212.180
password: ruTZ9J3gaDhknJ
port: 36379
host: lb-b6sze686-7db6hgvsx05ef8nz.clb.sg-tencentclb.net
password: a5v8b86P4mVzFlUqJV
port: 56379
database: 1
lettuce:
pool:
@@ -17,9 +17,9 @@ spring:
datasource:
stock-market:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://149.88.86.7:33306/india_stock?useUnicode=true&characterEncoding=utf-8
url: jdbc:mysql://lb-1ju43bvw-p0ecnv4by9ju8six.clb.ap-singapore.tencentclb.com:53306/india_stock?useUnicode=true&characterEncoding=utf-8
username: root
password: 33BsUUcnXRYgwtIND
password: uNejHIFQGJOUtYTmE
maxActive: 500
testWhileIdle: true
validationQuery: SELECT 1