Auth.java 334 B

1234567891011121314151617
  1. package com.ruoyi.system.utils;
  2. import java.lang.annotation.*;
  3. /**
  4. * Created with IntelliJ IDEA.
  5. *
  6. * @Auther: ZouTiancong
  7. * @Date: 2022/05/23/22:37
  8. * @Description:
  9. */
  10. @Target({ ElementType.TYPE, ElementType.METHOD })
  11. @Retention(RetentionPolicy.RUNTIME)
  12. @Documented
  13. public @interface Auth {
  14. boolean token() default true;
  15. }