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:
xiongxiaoyang
2022-09-21 15:05:29 +08:00
parent 87fdd2e6fc
commit 31bd2c0bf8
2 changed files with 15 additions and 31 deletions

View File

@ -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: