19 lines
426 B
Java
19 lines
426 B
Java
package com.february.common.security.annotation;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* 登录认证:只有登录之后才能进入该方法
|
|
*
|
|
* @author february
|
|
*
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target({ ElementType.METHOD, ElementType.TYPE })
|
|
public @interface RequiresLogin
|
|
{
|
|
}
|