package com.aida.seller.common.annotation; import java.lang.annotation.*; /** * 标记接口仅允许内部服务调用(Feign 远程调用)。 *
* 被此注解标记的 Controller 方法会通过 AOP 拦截, * 仅放行携带了正确内部调用 Header 的请求,外部 HTTP 请求将被拒绝。 * * @see com.aida.seller.common.aop.InternalOnlyAspect */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface InternalOnly { }