!234 【轻量级 PR】使用 @SaIgnore 替换 @Anonymous

Merge pull request !234 from MichelleChung/dev
This commit is contained in:
MichelleChung
2022-09-19 12:30:46 +00:00
committed by 疯狂的狮子Li
parent 513bda53cd
commit 8af85e8066
6 changed files with 22 additions and 11 deletions

View File

@ -1,5 +1,7 @@
package com.ruoyi.common.annotation;
import cn.dev33.satoken.annotation.SaIgnore;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
@ -10,7 +12,9 @@ import java.lang.annotation.Target;
* 匿名访问不鉴权注解
*
* @author ruoyi
* @deprecated 将在后续版本使用Sa-Token注解 {@link SaIgnore} 代替
*/
@Deprecated
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented