订单相关接口

This commit is contained in:
litianxiang
2026-05-20 11:09:30 +08:00
parent a51bca1867
commit 149ee13ec3
11 changed files with 304 additions and 18 deletions

View File

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