2020
12-18
12-18
Redis和springboot 整合redisUtil类的示例代码
一、引入依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-data-redis</artifactId></dependency>二、在application.yml配置redis服务器spring:#环境dev|test|prodprofiles:active:devservlet:multipart:max-file-size:100MBmax-request-size:100MBenabled:trueredis:database:0#Redis服务器数据库host:192.168.6.27#Redis服务器地址p...
继续阅读 >