Commit 6a371f06b0b0cfa975a41aeb35e39060c332f22e

Authored by YunaiV
1 parent 808ff6ab

默认禁用 spring data redis repositories,一方面没用到,一方面提高启动速度

yudao-server/src/main/resources/application.yaml
... ... @@ -77,6 +77,13 @@ mybatis-plus:
77 77 encryptor:
78 78 password: XDV71a+xqStEA3WH # 加解密的秘钥,可使用 https://www.imaegoo.com/2020/aes-key-generator/ 网站生成
79 79  
  80 +# Spring Data Redis 配置
  81 +spring:
  82 + data:
  83 + redis:
  84 + repositories:
  85 + enabled: false # 项目未使用到 Spring Data Redis 的 Repository,所以直接禁用,保证启动速度
  86 +
80 87 --- #################### 验证码相关配置 ####################
81 88  
82 89 aj:
... ...