package com.zhujizheng.IHome.aop; import java.lang.annotation.*; @Target(value = {ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface ApiIdempotent { String id(); int lockTime() default 10; }