IgnoreAuth.java 415 B

1234567891011121314151617181920
  1. package com.example.config.annotation;
  2. import java.lang.annotation.Documented;
  3. import java.lang.annotation.ElementType;
  4. import java.lang.annotation.Retention;
  5. import java.lang.annotation.RetentionPolicy;
  6. import java.lang.annotation.Target;
  7. /**
  8. * 忽略Token验证
  9. *
  10. * @author
  11. * @date 2019-11-28
  12. */
  13. @Target(ElementType.METHOD)
  14. @Retention(RetentionPolicy.RUNTIME)
  15. @Documented
  16. public @interface IgnoreAuth {
  17. }