crossoverJie / distributed-redis-tool

🔒A simple distributed tools based on Redis.
https://crossoverjie.top/tags/Distributed-Lock/
MIT License
612 stars 306 forks source link

springboot简单整合文档或者demo 有吗,刚开始玩springboot 看不懂 #8

Closed 2bcheng closed 6 years ago

crossoverJie commented 6 years ago

@2bcheng

这个项目里有使用,SpringBoot 也是类似的,只需要配置这个 Bean 即可。

https://github.com/crossoverJie/SSM/blob/614652d78de66fce5ddf8092bc9e7e7b919a4714/SSM-SECONDS-KILL/SSM-SECONDS-KILL-WEB/src/main/java/com/crossoverJie/seconds/kill/config/RedisLimitConfig.java#L26-L46

或者按照 README 操作也是可以的。

https://github.com/crossoverJie/distributed-redis-tool#controllerlimit

2bcheng commented 6 years ago

我研究下,谢谢

crossoverJie commented 6 years ago

@2bcheng

好的 有问题再沟通。