leopard-frequency
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.leopard</groupId>
<artifactId>leopard-frequency</artifactId>
<version>0.9.12</version>
</dependency><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.leopard</groupId> <artifactId>leopard-mvc-parent</artifactId> <version>0.9.12</version> </parent> <artifactId>leopard-frequency</artifactId> <name>Leopard-Frequency</name> <description>接口访问频率限制。使用注解进行配置,支持时长配置。应用场景,如涉及金钱、经验等业务操作,限制用户单线程访问,在编写业务代码时不需要过多考虑并发安全问题。</description> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-webmvc</artifactId> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> </dependency> <dependency> <groupId>io.leopard</groupId> <artifactId>leopard-servlet</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>io.leopard</groupId> <artifactId>leopard-redis</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <!-- test --> <dependency> <groupId>io.leopard</groupId> <artifactId>leopard-xparam</artifactId> <version>0.9.12</version> </dependency> <dependency> <groupId>io.leopard</groupId> <artifactId>leopard-jetty-test</artifactId> <scope>test</scope> </dependency> <!-- test --> </dependencies> </project>