自动化立体仓库 - WCS系统
LSH
2023-08-09 f79460295254ae83a28f76630254ee398ea6c473
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.zy.common.model.annotations;
 
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
 
//接口频率限制
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RateLimit {
 
    int value();//接口频率
 
}