23 lines
480 B
Java
23 lines
480 B
Java
package com.imyeyu.api.annotation;
|
|
|
|
import com.imyeyu.api.bean.CaptchaFrom;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* 图形验证码校验注解
|
|
*
|
|
* @author 夜雨
|
|
* @since 2023-07-15 10:09
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface CaptchaValid {
|
|
|
|
/** @return 验证码来源 */
|
|
CaptchaFrom value();
|
|
}
|