server: port: 8080 spring: application: #\u5E94\u7528\u7684\u540D\u79F0\uFF0C\u53EF\u9009 name: kesong-simulate datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/root?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true&connectTimeout=30000 username: root password: 123123 redis : host : 192.168.0.1 port : 6379 password : #在springboot的yml配置文件中配置 mybatis-plus: configuration: map-underscore-to-camel-case: false
Spring boot Redis配置
最新推荐文章于 2024-11-13 17:45:44 发布