mirror of
https://gitee.com/52itstyle/spring-boot-seckill.git
synced 2026-01-13 17:10:15 +00:00
18 lines
534 B
Java
18 lines
534 B
Java
package com.itstyle.seckill.common.aop;
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
/**
|
|
* 自定义注解 限流
|
|
* 创建者 张志朋
|
|
* 创建时间 2015年6月3日
|
|
*/
|
|
@Target({ElementType.PARAMETER, ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
public @interface ServiceLimit {
|
|
String description() default "";
|
|
}
|