package com.xly.erp.common.security; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * 标注在 controller 方法上,要求当前登录用户 userType == SUPER_ADMIN。 * 由 JwtHandlerInterceptor 在 preHandle 时校验。 */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface RequireSuperAdmin { }