用程序实现: 30s内只能访问一次 将上次访问时间存到缓存里面(memcache,redis),下次访问比较下 当前时间和缓存里面的时间。 转载于:https://www.cnblogs.com/gzmg/p/4901412.html