修复编码问题

This commit is contained in:
2025-07-30 19:52:23 +08:00
parent ed696e7c90
commit 8ab582d574
2 changed files with 7 additions and 7 deletions

View File

@@ -1,22 +1,22 @@
spring.application.name=VideoTablet
server.port=8088
## mysql ??????
## mysql 数据连接信息
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url=jdbc:mysql://139.199.77.221:3306/spring_boot?useUnicode=true&characterEncoding=utf8&useSSL=false
spring.datasource.url=jdbc:mysql://127.0.0.1:3305/video_tablet_db?useUnicode=true&characterEncoding=utf8&useSSL=false&allowPublicKeyRetrieval=true
spring.datasource.username=tt
spring.datasource.password=fanhuitong
# redis????
# 0????????????? Redis ???????
# redis基础配置
# 0也是默认值,表示你要操控的 Redis 上的哪个数据库
spring.data.redis.database=0
# 6379???????? Redis ??
# 6379也是默认值,表示 Redis 端口
spring.data.redis.port=6379
# ???????????
# 这里填写你的服务器地址
spring.data.redis.host=127.0.0.1
spring.data.redis.password=fanhuitong
# ???
# 可省略
spring.data.redis.lettuce.pool.min-idle=5
spring.data.redis.lettuce.pool.max-idle=10
spring.data.redis.lettuce.pool.max-active=8

View File

@@ -1,3 +1,3 @@
# application.properties
# ????????
# 默认激活生产环境
spring.profiles.active=debug