mirror of
https://github.com/201206030/novel.git
synced 2025-07-06 21:16:38 +00:00
fix: 修复进入作家专区提示访问未授权问题
原因:Spring Boot 3.0.0 在第 4 个 M(里程碑)版本中增加了 ElasticsearchClientConfigurations 配置类,该类改变了 Spring Boot Jackson 的默认配置,导致所有 null 属性都没有返回。 解决方案:将 Spring Boot 的版本修改为 M3 ,因为 SNAPSHOT(快照)版本一直在更新,后面可能会出现类似的问题,暂时不使用 Spring Boot 的 SNAPSHOT 版本,等 GA 版本发布后,再统一升级。
This commit is contained in:
@ -82,12 +82,11 @@ spring:
|
||||
|
||||
--- #---------------------中间件配置---------------------------
|
||||
spring:
|
||||
data:
|
||||
# Redis 配置
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: 123456
|
||||
# Redis 配置
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: 123456
|
||||
|
||||
# Elasticsearch 配置
|
||||
elasticsearch:
|
||||
|
Reference in New Issue
Block a user