springboot集成redis
小可乐-我一直在
这个作者很懒,什么都没留下…
展开
-
springboot 中 标识@component注解后 自动装配=null
package com.gblfy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; import javax.annotation.PostConstruct; import javax.servle转载 2020-12-09 18:17:00 · 706 阅读 · 0 评论 -
spring 根据redis实现的拦截效果
controller: @Delay(time = 2) <--重点是这个注解 @ApiOperation("用户换书开格子") @PostMapping("/user/inbooks/open/grid") public ResultData inbooksOpenGrid(@RequestBody InBookVO inBookVO) throws Excep...原创 2020-05-07 17:56:44 · 141 阅读 · 0 评论 -
springboot集成 redis
虽然原博主很 @#¥%## 但我尊重原创 https://www.cnblogs.com/zeng1994/p/03303c805731afc9aa9c60dbbd32a323.html 一、Maven依赖 (1)本文所采用的SpringBoot的版本如 org.springframework.boot spring-boot-starter-parent 2.0.2.RELEASE (2...转载 2019-09-07 21:24:41 · 85 阅读 · 0 评论